fastapi-jwt-auth
fastapi-jwt-auth copied to clipboard
Added options to configure token type claim.
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]
@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?
Is it possible to merge this PR?
@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.