Replies: 1 comment
-
|
Alternatively, providing a little more insight on what the If it is a benign getter function that is meant for users to put in audit logs, then I don't really care if I If it is used internally by axum-login then that is a different story. |
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.
-
I've seen quite a few authentication frameworks that allow the use of multiple credentials to a single user. AWS IAM comes to mind, you can generate many API key credentials that all resolve to a single user.
This framework appears to mostly support that. But when implementing the
AuthnBackendtraitget_user()method. I am expected to provide a user that has asession_auth_hash().To me that indicates that this framework expects
user:credentialto be1:1, because if you are not given a credential when looking up a user then you need a way to deterministically provide one.Is that a correct conclusion? Or am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions