Commit Graph

56 Commits

Author SHA1 Message Date
Vincent Fiduccia 7190b7cc28
Look for edit/remove of user on norman user 2021-08-20 02:56:00 -07:00
Richard Cox bb6dbcc8d4 Ensure iframe is cleared on log out
- on auth/logout ensure the iframe is removed instead of waiting for the timer
- solution probably over implemented, but wanted to ensure timer is also cleared on logout
2021-08-17 14:57:26 +01:00
Richard Cox b235599125 Update scopes to work with newer keycloak version 2021-07-09 19:06:06 +01:00
Richard Cox 4fa77433b0 Tweaks following review
- Fixed display of guide text given brand new changes to setup flow
- Tweaked & expanded guide text
- Hide username field if we're setting in first login mode
- Snuck in a fix for navigating to root of app when logged out
2021-07-07 18:17:52 +01:00
Richard Cox 5311769ff2 Fixes following review
- remove line in setup flow
- removing padding in username code block
- fixed issue where if admin password is not default then logging in failed
2021-07-07 15:44:32 +01:00
Richard Cox 80d07c7113 Tweaks/Fixes
- Use new newUserSetPassword string
- Removed unused USERNAME query param definition
- Tidied up some boolean logic, removed need for lodash fn
- Fixed issue where if a user didn't reset their password (for example due to page refresh) they were stuck in a loop until session times out
- During these tweaks i broke some of the original logic, so fixed. Some of the changes are just different ways of doing the same thing given changes above

Unrelated to PR but whilst in the area...
- Ensure value of mustChangePassword is correct when editing a user
- Added error handling to step 1 of setup
- Setup password text suggests using random password, so start with that selected
- vertical position won't jiggle on toggling password type
2021-07-06 15:09:34 +01:00
Westly Wright 999a0bff25
Update auth-setup page to handle resetting user password
rancher/dashboard#3143
2021-06-28 09:02:25 -07:00
Richard Cox ae64535e38 Login Page Tweaks
- Beef up error message
  - Previosuly just showed 'client' or 'server', now show existing error message and one specificaly for 401's
  - Clear out loggedOut & timedOut messages on log in attempt (so text doesn't flash up when attempting to log in after a failed attempt)
- Avoid vertical bobble of content when error message is shown/hidden
- Ensure 'log in' button doesn't report success to avoid confusing 'Logged In' and, if login takes a while, 'Log in with Local User' button text (on login success we're changing page with a page 'loading' overlay)
2021-06-14 14:22:57 +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
Vincent Fiduccia d12079875a
/v3/settings to /v1/management.cattle.io.setting
- /v3 doesn't exist if multi-cluster-management is disabled
- Use /v1/management.cattle.io.settings everywhere instead of /v3
- It now returns the public set of settings if retrieve with no auth, so
  the store needs to remember that even though we loaded "all" of them
that wasn't really ALL of them so that the full list gets loaded after
auth.
- Use new x-api-cattle-auth header to determine authentication state if present
- Use SETTINGS.* constants consistently
- `brand` -> `ui-brand` for consistency
- `eula-accepted=true` -> `eula-agreed=<timestamp>` to match Ember
2021-05-20 16:48:45 -07:00
Nancy Butler 986de53ffe revert azure url to verify-auth-azure 2021-03-18 07:19:07 -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 e1d5bea8d1 reconcile azuread bad merge 2021-02-11 14:48:19 -07:00
Cody Jackson 1bf3efd295 Implementing AzureAD auth
rancher/dashboard#2117
2021-02-09 11:53:48 -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 d56d4dc9b7 fix redirect url 2021-01-28 09:36:55 -07:00
Nancy Butler 26baa8309e saml auth popup 2021-01-28 06:20:53 -07:00
Nancy Butler b5a761ebc6 google oauth, auth mixin 2021-01-12 05:15:00 -07:00
Vincent Fiduccia 6fc4e133e4
Retransmit cookies set from SSR requests 2020-12-22 14:43:29 -07:00
Vincent Fiduccia 5304375640
Github auth config, pluggable login component 2020-12-22 14:43:26 -07:00
Vincent Fiduccia e2864433c0
Set cookie paths to / 2020-09-30 05:05:52 -07:00
Vincent Fiduccia c06bc88ad9
Logout redirect loop 2020-09-17 02:59:27 -07:00
Vincent Fiduccia f76baeba33
Support GitHub scope coming from server 2020-05-30 03:14:00 -07:00
Vincent Fiduccia 0042b8202b
Make workloads show up 2020-02-25 13:36:57 -07:00
Vincent Fiduccia e762c15eb2
Split management vs selected cluster store, queue subscribe frames, norman->steve 2020-02-20 11:07:14 -07:00
Vincent Fiduccia a2ff8d30d7
Fix login route 2019-12-19 16:03:12 -07:00
Vincent Fiduccia 54c0920064
Remove vue-native-websocket, use socket per norman client, typescript support 2019-12-18 17:20:14 -07:00
Vincent Fiduccia 7d2841c2ad
Pass errors down to login 2019-12-12 17:18:22 -07:00
Vincent Fiduccia 54e8e7fb48
Fix github setup 2019-12-03 14:11:00 -07:00
Vincent Fiduccia 778c7915e6
Typo 2019-11-18 16:34:35 -08:00
Nancy Butler d8f5cebd70 clear types object from norman stores 2019-11-18 15:25:41 -07:00
Vincent Fiduccia dbf7cd67c3
Clone, Stage, sorta Weighting 2019-11-12 02:59:12 -07:00
Vincent Fiduccia fb055ae5d1
Github setup and service picker flow 2019-11-06 18:37:03 -07:00
Vincent Fiduccia fd89433a56
Git repo picker flow 2019-11-06 01:35:41 -07:00
Vincent Fiduccia c3c7bae0da
Add base URL to the github redirect return URL 2019-11-05 10:27:03 -07:00
Vincent Fiduccia e9d058edbe
Tweaks 2019-11-05 01:49:58 -07:00
Vincent Fiduccia aaf3da0eb9
Use redirectUrl from auth test for githup setup 2019-11-05 00:57:51 -07:00
Vincent Fiduccia 940431c911
Sockets, Page layout, start ExternalService 2019-10-31 10:36:32 -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
Vincent Fiduccia a0c7cdb81f
Left nav, footer 2019-10-29 09:15:39 -07:00
Vincent Fiduccia 348321a7dd
Cleanup console.logs 2019-10-17 15:57:57 -07:00
Vincent Fiduccia 11ef095e0b
Debug login 2019-10-17 12:15:32 -07:00
Vincent Fiduccia fe4bb8f741
Logout 2019-10-17 12:06:51 -07:00
Vincent Fiduccia 55b7342369
Remove console 2019-10-17 11:00:17 -07:00
Nancy Butler 84052808bf cleanup 2 electric bugaloo 2019-10-14 14:47:01 -07:00
Nancy Butler 4a74aa5b93 git repos 2019-10-14 14:38:07 -07:00