Q: Can I encode Membership and Org information into the JWT or do I need to make another call to AuthRocket to get it?
A: You can have Membership and Org information encoded in the JWT if you want. It’s off by default, but you can turn it on at: Realm -> Settings -> Sessions & JWT. Change Include token data to Extended.
See: Login Tokens for details.
Tagged with: jwt
login tokens
Questions? Find a Typo? Get in touch.
Related articles:
Connecting Existing User Data
Limits on Simultaneous User Sessions
User Impersonation
Returning a JWT with Updated User and Org Data
Using AuthRocket with a Static Website
Getting Memberships when Authenticating a User
Making User Login Easier and Faster
Super Users and Support Agents
Create a Session without User Intervention
What is Inside a Login Token?
User Management Permissions
Testing API Calls
Retrieving Permissions
Encoding Extended Information into a JWT
Nesting Permissions