willie68 / GoBlobStore

A multi-tenant proxy service for storing binary data in various storage systems with a simple HTTP interface.
Apache License 2.0
0 stars 0 forks source link

JWT based tenant dicovery #6

Closed willie68 closed 2 years ago

willie68 commented 2 years ago

You can use the jwt token to get from a parameterized claim key the actual tenant of this user.

willie68 commented 2 years ago

for the jwt authorisation, the properties for the tenant definition should be:

auth: type: jwt properties: tenantClaim: Tenant

At the moment, only keys of the 1st hierachical level can be used.