Replies: 4 comments 1 reply
-
the token endpoint errors out on the token request, the only thing that may be interfering here is |
Beta Was this translation helpful? Give feedback.
-
I changed OIDCResponseType to id_token and was able to access the page. It seems it's an issue with the "Authorization code" flow. Secureauth has a few flows, the one that is working is implicit. |
Beta Was this translation helpful? Give feedback.
-
We pointed the setup to an older version of secureauth and unset the OIDCResponseType, essentially setting it back to the default of "code". In this case it works. It seems that it mayh be a secureauth issue, or there is something extra I need to setup in the module. It's not clear yet. |
Beta Was this translation helpful? Give feedback.
-
I just wanted to close out this discussion. The issue was on the secureauth side. One issue was the endpoint has windows SSO enabled on it. We disabled that. And the other was an issue with the consent storage attribute that was set on the realm. If anything, this is confirmation that the module works with secureauth. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I need to preface this first. I do not know what I am doing. I have familiarity with apache and modules and some familiarity with oidc. I have an oracle linux 8 server running apache 2.4.37. I have the 2.4.9.4 version of mod_auth_openidc. I create a simple virtual host that points to a document root that has a folder called "protected". In that directory I have an index file with a basic html in it. I have configured the virtual host with what I believe to be the minumum amount of config to get this module working with secureauth. This is my apache conf (edited):
When I go to this site, https://server1.example.com/protected, I get redirected to secureauth. It then sends me back to https://server1.example.com/protected/redirect_uri with the code. I get this page displayed:
In the error_log I can see there is a call to the oidctoken endpoint and it is using basic auth.
The error
oidc_util_decode_json_object: JSON parsing returned an error:
makes sense since it's parsing html. I am not sure why I am getting this. And I am not sure how to resolve it. Hopefully someone can help with this. If more info is needed, let me know. We were kind of wondering if the issue is that it is using basic auth vs sending a bearer token. But, that's just me grasping at straws.My expectation is that the oidc auth would work and I would see the index page. Maybe that is not how this module works.
Beta Was this translation helpful? Give feedback.
All reactions