Commit Graph

20 Commits

Author SHA1 Message Date
Richard Cox 795bc79d32 Pass through errors received from keycloak redirect when configuring auth provider
- When configuring an auth provider we prompt user for creds
- Once user has successfully authed with keycloak it redirects back to our `veritfy-auth` page
- Here normally we're all good and we extract the `code` and close the popup
- However keycloak can error, with for instance `Invalid scopes: profile,email`, which were previously ignored and sent back an undefined code
- Now we handle errors (these may be in a different format for other providers) and no auth codes
2021-07-09 11:32:12 +01:00
Richard Cox 3bae7225fa Handle errors when verifying auth
- seen as part of #3234 (does not solve entirely, backend changes needed)
2021-06-15 13:13:25 +01:00
Richard Cox f5539436d2 Add Keycloak OIDC provider
- Much of the grunt work is generic OIDC

Also fixed
- store's principalId was not updated after user enables any auth provider
- Colour of InfoBox title in dark mode
- Issue where some kind of errors when enabling provider were shown as an empty box (exceptionToErrorsArray is now used, which also uses a better catch all stringify)
- An issue where enabling and disabling a provider in the same visit meant lost defaults
- An issue where Auth / Groups would not display (async part had been removed)
- Resource instance validation would show all fields as invalid once one field had failed
2021-05-25 11:15:32 +01:00
Nancy Butler b5ef753587 allow for undefined state json in verify data 2021-03-30 07:55:57 -07:00
Nancy Butler 82d0c1ff7e nonce json
encode state param
2021-03-11 06:18:29 -07:00
Nancy Butler 51e5cb1073 add query params to azuread redirect 2021-02-23 11:29:18 -07:00
Nancy Butler 7a986578b2 do not logout/redirect on auth failure with 401
auth cleanup, edit config btn

hide entityid for okta
2021-02-09 09:06:15 -07:00
Nancy Butler 4f92b0218f fix ldap/saml add users and groups 2021-02-02 12:01:42 -07:00
Nancy Butler c009ed0bcb oauth 2021-01-29 12:16:52 -07:00
Nancy Butler 2cce6462b0 saml ldap login buttons 2021-01-29 12:16:52 -07:00
Nancy Butler 26baa8309e saml auth popup 2021-01-28 06:20:53 -07:00
Vincent Fiduccia 31ea3b138e
Eslint changes new nuxt defaults want 2020-05-28 14:22:52 -07:00
Vincent Fiduccia e8c5320226
Only test once 2019-11-06 10:33:06 -07:00
Vincent Fiduccia fd89433a56
Git repo picker flow 2019-11-06 01:35:41 -07:00
Vincent Fiduccia a757a0af5f
Theoretically working Github config 2019-10-30 18:03:21 -07:00
Vincent Fiduccia 15abff67cb
Local login, start setup flow 2019-10-29 19:03:43 -07:00
Nancy Butler 4a74aa5b93 git repos 2019-10-14 14:38:07 -07:00
Vincent Fiduccia d690ecfcb4
Server-side verify flow 2019-09-18 20:29:54 -07:00
Vincent Fiduccia c2c7111286
GitHub login flow 2019-09-17 02:14:34 -07:00
Vincent Fiduccia 8dfc082856
Start GitHub Auth, Rio Apps, combined namespace col 2019-09-16 02:38:16 -07:00