Developer forum

Forum » CMS - Standard features » External authentication sometimes stops working

External authentication sometimes stops working

Scott Forsyth Dynamicweb Employee
Scott Forsyth
Reply

Hi,

I'm using OKTA for external authentication and sometimes it stops working. Basically, you log into the external provider and it comes back to the Dynamicweb login page again without actually logging in. When I log in using a Dynamicweb user, that works, but not OKTA.

I've had similar issues and I've gotten it to work by clearing all cookies. However, this time I wasn't able to get it to work with anything client-side, but I found that recycling the app pool caused it to start working again. So there must be something in memory causing intermittent failures.

The user was set up correctly and such, both before and after the problem and the recycle. The only change I made for it to work was to recycle the app pool. This happened on 2 of 3 environments for this project, all with the same settings. We did push changes to the enviornments today but nothing of significance. 

I'm on 9.9.6. Is this a known issue? Any suggestions on how to troubleshoot this? 

Thanks,

Scott


Replies

 
Scott Forsyth Dynamicweb Employee
Scott Forsyth
Reply

I ran across this old post of mine. Just to update, this ended up having to do with the OKTA configuration. A new domain was set up and the new domain hadn't been added to the config yet.

And, the reason that it redirects to the homepage is that the error page was also password protected on the site so everything redirected to the login page, including errors. So the two changes were to add the domain to the OKTA config, and to update a couple public pages to not require logging in. 

 

 

You must be logged in to post in the forum