Jannis Köksel
08/12/2025, 6:29 PMAsk Inkeep
08/12/2025, 6:29 PMPermit Support Automation
08/12/2025, 6:29 PMAsk Inkeep
08/12/2025, 6:29 PMsub field matches the Permit user key
3. You use the FrontendOnly login method (1) :
permit.elements.login({
loginMethod: LoginMethod.frontendOnly,
userJwt: "<YOUR_USER_JWT>",
tenant: "<YOUR_TENANT_KEY>",
envId: "<YOUR_ENV_ID>",
})
The element gets user information (name, email) from your JWT - you control what data is included (2) . The JWT stays in your frontend, and only the necessary authorization checks go to Permit's infrastructure.
For the User Management element specifically, you can configure whether to display user email, full name, or both (3) (4) . This display configuration is separate from the authentication flow.
If you need complete isolation, you could also consider the server-side login methods with custom headers or bearer tokens (1) ,Ask Inkeep
08/12/2025, 6:29 PMThomas
08/12/2025, 6:38 PMJannis Köksel
08/13/2025, 4:02 AMPermit Support Automation
08/13/2025, 4:02 AMJannis Köksel
08/13/2025, 4:03 AMJannis Köksel
08/13/2025, 4:05 AMOr Weis
08/13/2025, 5:09 AM