Commit Graph

77 Commits

Author SHA1 Message Date
Ivan Shmidt 9fe15e6726 feat: point all backend to src 2020-06-15 22:34:53 +02:00
Ivan Shmidt 0c27fc1a7b Merge branch 'master' of github.com:spotify/backstage into shmidt-i/backend-hmr-2 2020-06-15 15:46:23 +02:00
Patrik Oldsberg dbc29358ed v0.1.1-alpha.8 2020-06-12 22:09:21 +02:00
Raghunandan 2c6b8659d3 review fixes 2020-06-12 14:40:06 +02:00
Raghunandan 5f13a53c6a Making auth backend work based on config. Config is yet to be read from the YAML and passed in. Localhost development will fail gracefully if AUTH config env vars are not set 2020-06-12 12:06:46 +02:00
Ivan Shmidt a1a60ad9d1 feat: hmr logic for the backend 2020-06-11 02:51:06 +02:00
Patrik Oldsberg c53bafc5f9 v0.1.1-alpha.7 2020-06-09 14:24:56 +02:00
Marcus Eide e9a2444c9a Documentation: Add guide for how to add an auth provider to the backend (#1145)
* Add guide for how to add a auth provider to the backend

* Move to new docs folder and small corrections

* Split oauth and non-oauth use-cases up and add more info about the verifyFunc

* Move summary to top and add note about non-oauth providers being experimental
2020-06-09 09:39:27 +02:00
Patrik Oldsberg e396996792 Merge pull request #1140 from spotify/auth-frontend-state
Auth frontend state
2020-06-05 11:48:16 +02:00
Raghunandan bacb2cf3a8 review fixes 2020-06-04 15:12:50 +02:00
Raghunandan 499c784c97 minor fixes 2020-06-04 13:42:41 +02:00
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
Raghunandan d1e78aa417 fetch profile on refresh to get user display name and picture 2020-06-04 10:45:12 +02:00
Raghunandan b68d8ccab1 Add TODOs 2020-06-04 10:45:12 +02:00
Raghunandan 578760956f Auth state working 2020-06-04 10:45:11 +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