Commit Graph

41 Commits

Author SHA1 Message Date
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
Patrik Oldsberg d62c6748a0 v0.1.1-alpha.6 2020-05-20 10:49:53 +02:00
Raghunandan 9113045c50 Namespace auth secrets 2020-05-19 22:19:30 +02:00
Raghunandan 357700e573 Fix PR comments 2020-05-19 20:19:23 +02:00
Raghunandan 15396a7202 Fix lint issues 2020-05-19 20:19:23 +02:00
Raghunandan 2dcdfd8480 remove unused imports. remove express-session module 2020-05-19 20:19:23 +02:00
Raghunandan 50658a166b Remove github provider. Refactored Google provider to be a class 2020-05-19 20:19:23 +02:00
Raghunandan 79ace90811 Intermediary step before moving to class 2020-05-19 20:19:23 +02:00
Raghunandan 422d85b67d move provider factories from router to src/providers 2020-05-19 20:19:22 +02:00
Raghunandan 6757352a79 Add passportJS and add strategy and routing for a provider. 2020-05-19 20:19:20 +02:00
Raghunandan 8793912e7e First cut - add subroutes 2020-05-19 20:16:46 +02:00
Patrik Oldsberg 296a787160 plugins/auth-,catalog-backend: point types to src 2020-05-18 00:45:57 +02:00
Patrik Oldsberg 3445778b2b plugins/{auth,catalog}-backend: type fix 2020-05-17 23:30:12 +02:00
Raghunandan 7cbd6f5b20 add a skeleton service for auth 2020-05-15 15:06:42 +02:00