Fief Django/DRF authentication backend #289
Pinned
matteius
started this conversation in
Show and tell
Replies: 1 comment
-
Thank you for this @matteius 👏 That's indeed really relevant! I had in mind to create a dedicated integration for Django, which would be a replacement for the built-in user authentication; but that was really complex. Your approach is really sensible for API with DRF and simple to setup! |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there @frankie567 -- I noticed there wasn't a Django/DRF pattern for using Fief and so I converted the existing examples to one that is working for me. Granted, this is a first pass and could probably be refactored and improved upon, but it appears to be working for my case.
Here is an example of using it:
Beta Was this translation helpful? Give feedback.
All reactions