WGBH-MLA / mlavalon

Apache License 2.0
0 stars 0 forks source link

Better Handles OktaOauth Failure #174

Closed jasoncorum closed 3 years ago

jasoncorum commented 3 years ago

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.