-
Notifications
You must be signed in to change notification settings - Fork 626
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Oauth flow for Google, GitHub and GitLab (#272)
* Setup for general auth flow and google oauth * Added github and gitlab oauth flows. Added CSRF protection. Added redirect route * final changes * Some PR fixes * Added forbidden page. Extracted logAndRedirect function * Removed scopes and default for redirect url. Extracted config creation and url parsing to controller so that it's only done once. Fixed error handling. Added redirect url generation based on host header. Other PR fixes * config changes, no auth by default * makes templates work via webpack * Fixes a bug where handler kept updating the same redirectURL variable * makes frontend prettier, adds sign out button * adds an svg version of the logo * tests fixes * js lint fix Co-authored-by: Dmitry Filimonov <[email protected]>
- Loading branch information
1 parent
8c45c81
commit 66ea269
Showing
24 changed files
with
1,231 additions
and
354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.