Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal to add a custom message for expired signature and incorrect token #7

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rakesh1988
Copy link

@rakesh1988 rakesh1988 commented Nov 26, 2022

Hi @k4black ,

FYI:this is just a proposal and not complete PR. If you agree, i will enrich the PR

Proposal: I would like to propose to add custom message as a param when creating a bearer token and refresh token.
i have a use case where i need to pass different languages as message.

@@ -61,7 +61,7 @@ def refresh(
def read_current_user(
credentials: JwtAuthorizationCredentials = Security(access_security)
):
# auto_error=False, fo we should check manually
# auto_error=False, so we should check manually
Copy link
Author

Choose a reason for hiding this comment

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

typo correction

@rakesh1988
Copy link
Author

hi @k4black any thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant