authorizer icon indicating copy to clipboard operation
authorizer copied to clipboard

Add possibility to add custom fields on user (and retrive them inside CUSTOM_ACCESS_TOKEN_SCRIPT variable)

Open Neosyn-Alex-Ferreli opened this issue 4 years ago • 3 comments

Feature Description

Add possibility to add custom columns on authorizer_users table (like for examble an organizationId to create "groups" of users).

Describe the solution you'd like

Adding a column to authorizer_users table that is accessible inside CUSTOM_ACCESS_TOKEN_SCRIPT variable (inside user object).

Describe alternatives you've considered

An alternative could be concatenate the organizationID value to userID column (maybe concatenated with an _ for example) and do that splitting logic inside CUSTOM_ACCESS_TOKEN_SCRIPT variable.

Additional context

No additional context to explain.

Thanks for the hard work, this package could become the standard to handle Authorization & Authentication stuff! Look promising!

Neosyn-Alex-Ferreli avatar Feb 14 '22 11:02 Neosyn-Alex-Ferreli

@Neosyn-Alex-Ferreli thank you for the feature request, This is already in the road-map 👍

lakhansamani avatar Feb 14 '22 13:02 lakhansamani

Hello, any news on this feature? Thanks!

ayouboss avatar Mar 11 '23 19:03 ayouboss

@ayouboss this feature is not yet picked up. Soon will start working on it

lakhansamani avatar Mar 13 '23 11:03 lakhansamani