Skip to content

Question regarding revoking tokens #294

Answered by frankie567
jdclawson asked this question in Q&A
Discussion options

You must be logged in to vote

httpx-oauth is only there to make the requests to the API and retrieve the tokens. How they are stored and cleared will depend on the library using it.

That said, when you say "without needing to re-enter credentials again"; do you still see the redirection to the OpenID service? Sometimes, identity providers keep a session on their side so the OAuth request is automatically granted and you are redirected directly without any prompt.

If it's the case, you can force to show the login window by passing the prompt=login query parameter to your authorize URL. It's part of the OpenID specification, so if your identity provider supports it, you should always see the login page. With httpx-oauth,…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jdclawson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants