You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to create OAuth2 provider in Authentik, which will support both logged in Authentik users and guests (who don't have account/tokens etc).
I know that this sounds weird, but basically I'd like to return different token content based on scopes provided in POST request as a hacky way to add feature to my app, as I'm using OAuth2 anyway. I just need to allow guests access for app, but for some endpoints I would verify this magic value from token. I tried to add anonymous authentication flow, but it doesn't work, I'm just not able to get token with CURL if I will not provide any way of auth (user+pass or secret token). Is there a way to achieve that?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'd like to create OAuth2 provider in Authentik, which will support both logged in Authentik users and guests (who don't have account/tokens etc).
I know that this sounds weird, but basically I'd like to return different token content based on scopes provided in POST request as a hacky way to add feature to my app, as I'm using OAuth2 anyway. I just need to allow guests access for app, but for some endpoints I would verify this magic value from token. I tried to add anonymous authentication flow, but it doesn't work, I'm just not able to get token with CURL if I will not provide any way of auth (user+pass or secret token). Is there a way to achieve that?
Beta Was this translation helpful? Give feedback.
All reactions