Triggering a call to OIDC protected endpoint from a service. #836
Unanswered
AnirudhPokala
asked this question in
Q&A
Replies: 1 comment
-
|
you shouldn't be looking to use an OIDC flow here but rather an OAuth 2.0 RS flow and use the access token, see: https://github.com/zmartzone/mod_auth_openidc/wiki/OAuth-2.0-Resource-Server |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team
We are using mod_auth_openidc, to enable OIDC support with Auth0 for keystone. The OIDC flow works fine when we trigger a call from Browser to OIDC protected endpoint in apache. i.e
But is there a way to make sure, we initiate the OIDC call to protected endpoint from a service. i.e the service already has an ID_TOKEN of user which we get after successful auth0 login. Because we already has a service with takes care of login using auth0 google. We don't wanted to make it redundant again initiating the call from mod_auth_openidc.
So we want to do a POST call to our OIDC protected endpoint with ID_TOKEN and make sure mod_auth_openidc parses the claims and set the values as it does in UI initiated case.
But when we tried to trigger a POST call from postman to OIDC protected endpoint, we got a
Bad Request, after debugging the logs its found that its failing because of nomod_auth_statecookie.Logs for same:
@zandbelt can you kindly once look into this.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions