How to access webpage protected by auth_openidc with curl ? #1248
Unanswered
Tistou-ESGI
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I could be completely misguided but I think the access token you got from azure is to allow you to query back to the MS graph api and not the api of your application. I suspect the token will not validate in jwt.io. I think you would need to run the authentication against your application and use the session Cookie it provided to access your application api. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've configured apache2 mod_auth_openidc on my webserver with keycloak.
I can obtain a token with curl to keycloak, but when i try to access to my protected webpage with this token i get an html page with js code saying "Submitting.."
this code seems to be from the mod
Here is the error log of apache:
Here is my apache config:
Here is the curl command i used:
Thanks
Beta Was this translation helpful? Give feedback.
All reactions