We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3aeb3b8 commit 71e4e35Copy full SHA for 71e4e35
.env.sample
@@ -8,4 +8,5 @@ JWT_TYPE=HS256
8
ROLES=user
9
DEFAULT_ROLES=user
10
PROTECTED_ROLES=admin
11
-JWT_ROLE_CLAIM=role
+JWT_ROLE_CLAIM=role
12
+function(user,tokenPayload){var data = tokenPayload;data.extra = {'x-extra-id': user.id};return data;}
0 commit comments