Arttii
Arttii
ZZITADEL
Created by Arttii on 5/30/2025 in #questions-help-bugs
Get User Org Golang
How is it possible to get a requesting users' Organization metadata in Golang? Essentially, I have the bearer token after introspection and I would like to fetch the metadata on the organization. If the user is a manager on the Org this will work, but how can i set this up for say externally authenticated users, without manual intervention or having to call webhooks and assigning permission. Currently, we are using the actions to add this to claims, but due to the way actions 2 is working, I am wondering if it's worth doing it like that or just fetch it in the backend. Thanks!
3 replies
ZZITADEL
Created by Arttii on 7/26/2024 in #questions-help-bugs
External IDP - getting stuff out of the idToken
Hi, Is there any way to get at the contents of the idToken in the actions? Azure AD does not send the App Roles in the providerInfo, but rather inside the idToken and I would like to get at it to set application grants dynamically. Is there a nice way to do this? Thanks!
4 replies
ZZITADEL
Created by Arttii on 3/12/2024 in #questions-help-bugs
How to get session id given userid and access token
Hi, I am using the NextAuth provider for Zitadel and wanted to implement a custom logout when a user is logged into Zitadel with multiple users. The /oidc/v1/end_session endpoint logs out all users, but I want to be able to logout only the current user used in the app. I was trying to do this by calling /v2beta/sessions/ with a DELETE, but I somehow cannot get the sessionid to use in that call. Help would be greatly appreciated!
11 replies
ZZITADEL
Created by Arttii on 1/11/2024 in #questions-help-bugs
Redirect URI wildcard
Hi, We are currently trying to get preview builds on cloudflare to work with zitadel auth, but it seems wildcards are not supported for the redirect url. Is this correct? Thanks!
14 replies