Refactor the login handler
The login handler is now a simpler, standalone http.Handler wrapper. The separation between the SSO application and the login handler is now fairly complete.
The login handler no longer forces the user to a specific workflow via session cookies, but it works on a request-by-request basis instead, which makes the "back" button works as expected (allowing the user to bail out of a broken 2FA process, for example).
Session handling has been simplified as well: there is a single session for authentication and login state, which should remove the opportunity for session synchronization errors.
Merge request reports
Activity
added 7 commits
- a714fb79 - Use the merged context when calling ExecuteTemplate
- b3cd8da3 - Fix submission URLs for 2FA login forms
- c8f18956 - Improve error message when the 2FA constraints are not met
- 6e9891f4 - Generate the SRI map in sorted order
- c9da7d18 - Bindata update for the 2fa forms
- 6387bf4c - Block default favicon requests
- 1284ea50 - Add script to run a local server for UI testing purposes
Toggle commit listadded 2 commits
added 1 commit
- c2e0f43c - We no longer need a gorilla/mux in the main app
mentioned in commit 58b34085
mentioned in issue #11 (closed)
mentioned in issue #9 (closed)
mentioned in merge request !7 (merged)