Is your feature request related to a problem? Please describe.
Using tinyauth to secure a dashboard the usually displays the user information based on a unique user id. It would be great if tinyauth would forward that from Pocket-ID as it is the only OIDC in this setup. (I could see how this would not be preferred in the future but I worry if a user updates their email address that all their data will be lost in the void.)
Describe the solution you'd like
Currently tinyauth forwards user, name, email, groups but it would be awesome to additionally select the UUID or "sub" from pocket-id as this would always remain the same for the user no matter when they change their name or email address. Then the upstream app could identify the user based on the unchanging and unique id and thus provide their personalized dash.
Describe alternatives you've considered
I've contemplated authentik or other more enterprise solutions as I understand this isn't tinyauth's original intent. But tinyauth is so clean and elegant and simple that I really don't want to expand to a different solution.
Feel free to tell me to buzz off if this outside the scope of this project and not really ideal, but I thought I would ask.
Kindest regards!
Additional context
Nothing else for context.
Is your feature request related to a problem? Please describe.
Using tinyauth to secure a dashboard the usually displays the user information based on a unique user id. It would be great if tinyauth would forward that from Pocket-ID as it is the only OIDC in this setup. (I could see how this would not be preferred in the future but I worry if a user updates their email address that all their data will be lost in the void.)
Describe the solution you'd like
Currently tinyauth forwards user, name, email, groups but it would be awesome to additionally select the UUID or "sub" from pocket-id as this would always remain the same for the user no matter when they change their name or email address. Then the upstream app could identify the user based on the unchanging and unique id and thus provide their personalized dash.
Describe alternatives you've considered
I've contemplated authentik or other more enterprise solutions as I understand this isn't tinyauth's original intent. But tinyauth is so clean and elegant and simple that I really don't want to expand to a different solution.
Feel free to tell me to buzz off if this outside the scope of this project and not really ideal, but I thought I would ask.
Kindest regards!
Additional context
Nothing else for context.