Commit Graph

63 Commits

Author SHA1 Message Date
Marcus Eide 1590977830 Merge pull request #1138 from spotify/eide/fix-logout
Auth: fix logout()
2020-06-04 13:04:39 +02:00
Marcus Eide b32441f89b Use post for logout 2020-06-04 11:07:46 +02:00
Marcus Eide a53977997c Add tests for OAuthProvider class 2020-06-04 10:43:51 +02:00
Raghunandan a9680936d0 Add tests for OAuthProvider Utils test 2020-06-04 10:37:20 +02:00
Raghunandan ff50a98ac4 Add PassportStrategyHelper tests. Move util fns to OAuthProvider class. 2020-06-04 10:37:19 +02:00
Patrik Oldsberg cf5e4f367d plugins/auth-backend: docs for saml-idp 2020-06-02 13:42:15 +02:00
Patrik Oldsberg 5d24d086f5 plugins/auth-backend: added basic saml provider 2020-06-02 13:38:43 +02:00
Patrik Oldsberg 3c47bc4e23 plugins/auth-backend: refactor to allow non-oauth providers 2020-06-02 13:38:42 +02:00
Patrik Oldsberg 397e670a2e plugins/auth-backend: add script for starting up saml test idp 2020-06-02 12:47:29 +02:00
Marcus Eide 5567c5e2e5 Merge pull request #1074 from spotify/eide/github-auth
Add github auth
2020-06-02 10:45:00 +02:00
Patrik Oldsberg f9e4e557f8 packages/cli: enable TS isolatedModules 2020-06-01 16:09:11 +02:00
Raghunandan c2877e0a1a Add PassportStrategyHelper tests. Move util fns to OAuthProvider class. 2020-06-01 14:26:04 +02:00
Marcus Eide 86930c9dd2 Support providers without refresh tokens 2020-06-01 12:11:13 +02:00
Marcus Eide 438bdba2cf Use StaticAuthSessionManager for Github 2020-06-01 12:07:58 +02:00
Marcus Eide 7a665c3c2b Add github as an auth provider to the backend 2020-05-29 15:16:10 +02:00
Raghunandan Balachandran 2112095487 Merge pull request #1062 from spotify/refactor-google-providder
Auth Backend: Refactor google provider
2020-05-29 09:55:58 +02:00
Raghunandan 95c92a52aa unbreak the test runner 2020-05-29 09:21:25 +02:00
Raghunandan d16dfdc55b move refresh token response to provider 2020-05-29 09:09:48 +02:00
Raghunandan c35c9d8023 remove unused packages 2020-05-28 21:55:39 +02:00
Raghunandan e607ecfb3d remove tests. all routes for google auth working 2020-05-28 21:31:09 +02:00
Patrik Oldsberg 6a6a901a2b preparations for isolated TS modules 2020-05-28 18:37:13 +02:00
Raghunandan 9918e36b6b refactor all the things and comment out tests 2020-05-28 14:54:38 +02:00
Raghunandan Balachandran 43552302c3 Merge pull request #1025 from spotify/nonce-headers
Auth backend: Nonce and header checks
2020-05-27 16:00:06 +02:00
Adil Alimbetov f72d97dc17 Sidebar logo update (#814)
* Testing logo ux

* Updated logo on sidebar

* removed unused vars

* adjusted types on icon components
2020-05-27 10:13:41 +02:00
Raghunandan 86518a0210 add test cases for nonce checks 2020-05-27 09:40:18 +02:00
Raghunandan 12d41d0f0a use providerFactory.provider instead of hardcoding google 2020-05-26 17:25:48 +02:00
Raghunandan fccdb7e3ef add nonce check for the google auth dance in popup 2020-05-26 17:25:48 +02:00
Raghunandan 77d1e7382d add check for x-requested-with header 2020-05-26 17:25:48 +02:00
Raghunandan 3a7e998a16 fix review comments, more error handling, moar tests 2020-05-26 17:06:40 +02:00
Raghunandan 1da6ac369e fix tests and add more tests 2020-05-25 23:52:59 +02:00
Raghunandan a8184250fe fix lint issues 2020-05-25 17:51:27 +02:00
Raghunandan 53c1fe0601 fix lint issues 2020-05-25 17:46:42 +02:00
Raghunandan a739f2da58 Fixes in response format in frontend and backend apis 2020-05-25 16:51:50 +02:00
Raghunandan 6cd55c3b7b Always return scope 2020-05-25 16:27:56 +02:00
Raghunandan 95f86e7482 Implemented refresh endpoint for google provider 2020-05-25 16:05:35 +02:00
Raghunandan Balachandran b462115235 Merge pull request #968 from spotify/auth-tests
Auth Backend: Tests
2020-05-23 11:55:55 +02:00
Raghunandan 3f4bd136d6 fix pr review 2020-05-23 11:13:50 +02:00
Raghunandan c496c0e999 fix lint issues 2020-05-22 16:23:56 +02:00
Raghunandan e190463539 update tests 2020-05-22 16:01:35 +02:00
Raghunandan Balachandran c8e67db359 Merge pull request #957 from spotify/add-auth-backend-docs
Add required env vars for backends in README
2020-05-22 14:49:12 +02:00
Raghunandan 64c743edde Add tests for google auth provider 2020-05-22 14:00:28 +02:00
Raghunandan e2179d979c Add tests for providers/index, factories and google provider 2020-05-22 13:58:12 +02:00
Raghunandan 2c6b883006 tests for makeProvider 2020-05-22 13:57:19 +02:00
Raghunandan 2692c622aa update docs 2020-05-22 12:50:54 +02:00
Patrik Oldsberg 1d43ee5b1d plugins/auth-backend: fix for post message response not being html + close automatically 2020-05-22 12:41:38 +02:00
Patrik Oldsberg 73c555f41d plugins/auth-backend: forward id token to auth session 2020-05-22 12:33:26 +02:00
Patrik Oldsberg 786a00d6d0 plugins/auth-backend: pass on scope string as is to google provider 2020-05-22 12:33:25 +02:00
Raghunandan 236bbd72a1 Add required env vars for backends in README 2020-05-22 09:11:57 +02:00
Raghunandan Balachandran 88635f7f63 Merge pull request #921 from spotify/auth-backend-subroutes
Auth backend - provider and routes
2020-05-20 17:42:07 +02:00
Raghunandan 9749d07be5 more fixes 2020-05-20 16:18:54 +02:00