Skip to content

Conversation

snosratiershad
Copy link
Contributor

Related to this discussion

@snosratiershad snosratiershad changed the title add refreshurl to OAuth2PasswordBearer Draft: add refreshurl to OAuth2PasswordBearer Apr 18, 2024
@snosratiershad snosratiershad changed the title Draft: add refreshurl to OAuth2PasswordBearer add refreshurl to OAuth2PasswordBearer Apr 18, 2024
@qubzes
Copy link

qubzes commented Nov 30, 2024

would this feat be merged???

@svlandeg svlandeg changed the title add refreshurl to OAuth2PasswordBearer ✨ Add the option refreshurl to the OAuth2PasswordBearer constructor Feb 18, 2025
Copy link
Contributor

@YuriiMotov YuriiMotov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM,

in line with the OAuth 2.0 standard

This grant type can eliminate the need for the client to store the resource owner credentials for future use, by exchanging the credentials with a long-lived access token or refresh token.

and openapi

@tiangolo tiangolo changed the title ✨ Add the option refreshurl to the OAuth2PasswordBearer constructor ✨ Add refreshUrl parameter in OAuth2PasswordBearer Jun 17, 2025
Copy link
Member

@tiangolo tiangolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thanks! 🚀

@tiangolo tiangolo merged commit aebff50 into fastapi:master Jun 17, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants