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

Added options to configure token type claim. #84

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

Conversation

s3rius
Copy link

@s3rius s3rius commented May 3, 2022

Hi, you did a super cool library, but I couldn't use it in our ecosystem.

These options are here to help this library to be more generic.
In many cases services built with FastAPI are used as micro services that integrated in existing systems with existing authentication mechanisms.
I faced an issue that JWTs that used in our backend have custom type claims, so I added these options to be able
to adjust this library nicely.

Signed-off-by: Pavel Kirilin [email protected]

@s3rius s3rius mentioned this pull request May 3, 2022
@s3rius s3rius force-pushed the feature/token_types branch from 1deb9e6 to 880d225 Compare May 3, 2022 10:09
@s3rius
Copy link
Author

s3rius commented May 3, 2022

@IndominusByte, while writing tests for this request I found out that some of your tests depend on configuration loaded by previous tests.
I've added fixture that resets config to default state after every test. Is this ok?

Signed-off-by: Pavel Kirilin <[email protected]>
@s3rius s3rius force-pushed the feature/token_types branch from 880d225 to cee8d2f Compare May 3, 2022 11:09
@leonardovettulo
Copy link

Is it possible to merge this PR?

@s3rius
Copy link
Author

s3rius commented May 31, 2022

@leonardovettulo, I've tried to contact the maintainer, but I couldn't find his contacts.

If someone knows how to reach him and tell to look at this PR, it would be super great.

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.

2 participants