Skip to content

[FEATURE] Map oidc info to custom headers #50

@adrianipopescu

Description

@adrianipopescu

Is your feature request related to a problem? Please describe.
I'd like to be able to forward parameters to apps behind tinyauth. This allows tinyauth to act as a much more powerful auth middleware, for example when paired with pocket-id

Describe the solution you'd like
The ability to specify custom labels per target container informing tinyauth what data to send and on what field. Like a key-value map. This would require deployer knowledge of the data path for the user information in oidc response, for example. (If implementing via json path for example)

Describe alternatives you've considered
Just migrating to a more powerful auth provider like authentik or authelia but it's the simplicity that is appealing.

There's also a supplimental approach where I use the user header already passed by tinyauth and do a lookup and fill in the info but that'll end up as proxy -> tinyauth -> lookup -> app. More steps, more brittle.

Additional context
N/A

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestpinnedThis issue is pinned

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions