Skip to content

Authenticator not switching role #1924

Answered by steve-chavez
chirdeeptomar asked this question in Q&A
Discussion options

You must be logged in to vote

token=None,

Seems there's no token passed so it makes sense that postgrest defaults to anon.

Unable to figure out whether it's an issue with PostgREST or the Python library.

Most likely the lib, switching roles is well tested as of now. You can try making plain http calls to confirm(send the Authorization header with curl).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@chirdeeptomar
Comment options

@wolfgangwalther
Comment options

Answer selected by wolfgangwalther
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants