This work fixes an infinite loop error when there's an error on the Okta side of authentication. What would happen is that there would be a failure on the Okta side which would redirect back to the new_user_session path on Mlavalon which would automatically try to log back in to Okta using the same credentials. This, instead, spits them out at the root_path and exposes the error message from the Okta response.
This work fixes an infinite loop error when there's an error on the Okta side of authentication. What would happen is that there would be a failure on the Okta side which would redirect back to the new_user_session path on Mlavalon which would automatically try to log back in to Okta using the same credentials. This, instead, spits them out at the root_path and exposes the error message from the Okta response.