OAuth2 Not Working with https schema on BaseURL #848
-
Hello Everyone. I'm facing an issue with openam 15.1.3. I configured the OpenAM with a domain http://auth.com:30009 (k8s port). And then, I configured on Realms > Services > Base URL Source the following domain: https://sso-example.com:443. Everything is working fine, except OAuth2 flow. When I changed the Base URL to https, I'm getting a bad_request error on oauth/authorize endpoint. I saw the access_log from /usr/openam/config/sso/logs and I found that openam is trying to make the request over http instead of https:
If I try to make a request over http, everything works with no issues. Can you please tell me if I'm missing something on the configuration? I also checked the Configure > Authentication > OAuth 2.0 properties and URL Proxy is configured correctly over https. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 14 replies
-
Hi @AndressRod |
Beta Was this translation helpful? Give feedback.
-
please check in https post iPlanetDirectoryProW cookie value is equal to csrf parameter ? |
Beta Was this translation helpful? Give feedback.
-
Thank you so much @maximthomas @vharseko |
Beta Was this translation helpful? Give feedback.
#855