Custom Claims #355
Labels
No labels
bug
chore
documentation
enhancement
help
in-progress
question
ready-for-release
released
translation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
adam/gate#355
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe your idea for an enhancement:
It would be useful for certain installations to be able to inject custom claim data into a user. Software like Immich can use OAuth claims to set a user's role and storage quota.
A simple implementation in the form of a textbox that we could write some JSON data into would probably be more than enough. The only validation that would need to be done is to check if the JSON is valid. It would probably be wise to not read in keys that are already managed by VoidAuth.
Describe alternatives you've considered:
I've considered making a middleware that sat between VoidAuth and the other service, but that would kind of defeat the whole point of user claims being easy to configure.
This would be so great. Audiobookshelf also uses claims to set default permissions for users.