Full JWT example with local accounts please? #422
pbaletkeman
started this conversation in
General
Replies: 2 comments
-
Hey @pbaletkeman I've just discovered that I forgot to put AppAuthProvider class implementation into #367. Take a look. You just need to implement a storage class to get user data from a database for authentication. Feel free to ask any questions. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Here's an example with OAuth2 Password provider – Neoteroi/BlackSheep-Examples#9 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I see this post, #419 by @amirongit @ and this post #367 by @tyzhnenko so I think what I'd like isn't impossible.
I would like a step by step guide/tutorial on how I can setup JWT with accounts stored in my local database.
I'm still a new to Python (started programming with it in June 2023) and only found out about BlackSheep about late September 2023.
@amirongit did mention that they were able to get JWT working fine in their application.
I think that what @tyzhnenko has created is probably the way to go, but the final solution still eludes me.
From what I can tell the documentation on the site only mentions using providers like Auth0, Active Directory, Okta, etc.
I'd like to do everything locally without the third party service.
Beta Was this translation helpful? Give feedback.
All reactions