Closed ohmydds closed 1 year ago
- Could you try the devel branch now? Instead of the white screen, you should see the login page with an error. Also the log message 'Failed login for' should contain the login name.
Sure - I'll give it a shot here shortly
2. It seems to me that your user is not registered in Redmine and self registration is forbidden?
That's definitely possible and something I hadn't considered.
We currently use ldap for authentication and are working towards transitioning to Okta. Looks like I need to figure out how to tie the Okta user in with the ldap user
The devel branch gave me better results using Safari.
I had the same issues as above when using Firefox - but maybe Firefox cached the pages. (I tried using Firefox in private mode and Cmd+Shift+r to reload the page but it still didn't help)
The logs gave me more info as well:
I, [2022-12-22T09:23:01.120637 #2637050] INFO -- :
Redirected to https://sso.<domain>.com/oauth2/default/v1/authorize?client_id=<client>&r
edirect_uri=https%3A%2F%2F<domain>.com%2Foauth2callback&response_type=code&scope=openid+profile+email&state=<state>
I, [2022-12-22T09:23:42.535374 #2637050] INFO -- :
Started GET "/oauth2callback?code=<code>&state=<state>" for 10.xx.xx.xx at 2022-12-22 09:23:42 -0500
I, [2022-12-22T09:23:42.536161 #2637050] INFO -- :
Processing by RedmineOauthController#oauth_callback as HTML
I, [2022-12-22T09:23:42.536234 #2637050] INFO -- :
Parameters: {"code"=>"<code>", "state"=>"<code>"}
W, [2022-12-22T09:23:42.900645 #2637050] WARN -- :
Failed login for '<username>@<domain>.com' from 10.xx.xx.xx at 2022-12-22 14:23:42 UTC
E, [2022-12-22T09:23:42.900847 #2637050] ERROR -- :
Invalid user or password
I, [2022-12-22T09:23:42.901008 #2637050] INFO -- :
Redirected to https://<domain>.com/login
So now if I figure out how to get the LDAP user = Okta user, I think we're good.
Thank you very much for the prompt response :)
Email address was entered incorrectly in redmine (typo).
All is well now 🥳
Thanks again!
Hello!
I followed the instructions to install the plugin then handed the Okta configuration off to our Okta team for that end.
After clicking "Continue with Okta" and then logging in to Okta, I am redirected to a blank white screen.
Here are some relevant bits from redmine production.log:
Apache error.log says:
Refreshing the blank page shows this in the log file:
Any attempts to log in after the initial attempt are redirected to the blank screen with the url:
Redmine is installed on a Ubuntu EC2 instance behind an ALB load balancer. (AWS)
Sticky sessions are enabled so the same instance should be used for the requests and redirects.
Thanks!