Commit Graph

134 Commits

Author SHA1 Message Date
Nikita Dudnik 29e442cbc9 Merge pull request #1512 from spotify/freben/oauth2-custom-identity-provider
feat(auth): implement generic oauth2 provider
2020-07-03 10:21:06 +02:00
Fredrik Adelöw 7389f326d9 chore: add import/newline-after-import lint rule 2020-07-02 11:25:04 +02:00
Fredrik Adelöw 77fe78370b feat(auth): implement generic oauth2 provider 2020-07-02 09:19:02 +02:00
Fredrik Adelöw 7a43c8ed34 Merge pull request #1478 from danztran/gitlab_auth
Add Gitlab Auth #343
2020-06-30 13:39:24 +02:00
Raghunandan 4f3e537c3d Persist scopes in Github provider and add it to the auth response. Fix serialization for Set type in locaStorage. 2020-06-30 09:49:08 +02:00
danztran fba2c8c3b2 plugin/auth-backend: fix test on passport strategy helper 2020-06-29 12:03:51 +07:00
danztran c1806a0e2d plugin/auth-backend: add test for gitlab provider 2020-06-29 11:43:17 +07:00
danztran eeaf25fce8 plugin/auth-backend: add gitlab types 2020-06-29 10:55:54 +07:00
danztran 9fca100dc7 plugin/auth-backend: update docs 2020-06-28 23:21:37 +07:00
danztran f524bbdea2 plugin/auth-backend: add gitlab oauth 2020-06-28 22:24:47 +07:00
Patrik Oldsberg 93eeda55c6 Merge pull request #1458 from spotify/mob/pack
cli: add backend:build-image command and use in backend
2020-06-26 12:34:33 +02:00
Nicholas Pirrello d3a990ac04 Add prompt: consent. Adjust unused types for StateStore 2020-06-25 19:42:32 -04:00
Nicholas Pirrello 72387eb720 Fix linting and tsc issues 2020-06-25 18:28:51 -04:00
Nicholas Pirrello 144a3b9294 Fix build and add okta oauth2 scope normalization 2020-06-25 18:20:13 -04:00
Patrik Oldsberg d49e05e9e7 plugins/auth-backend: include migrations in published package
Co-authored-by: Ivan Shmidt <bahoc47@gmail.com>
2020-06-25 18:08:47 +02:00
Nicholas Pirrello 515d64e40a Add okta integration 2020-06-24 22:55:14 -04:00
Patrik Oldsberg cc0e6b0d30 auth-backend: leave it to the providers to figure out the backstage identity 2020-06-24 11:37:30 +02:00
Patrik Oldsberg 5ff8582eb6 Merge pull request #1422 from spotify/mob/auth-std-profile
auth: refactor to include backstage identity and use more explicit types
2020-06-24 10:40:28 +02:00
Patrik Oldsberg b709889fb5 auth-backend: clean up comments + fix getting email from profile 2020-06-24 10:24:06 +02:00
Patrik Oldsberg dcaee07754 v0.1.1-alpha.12 2020-06-23 22:25:25 +02:00
Patrik Oldsberg 4d94f4cbb4 packages: publish entire dist folder 2020-06-23 22:24:55 +02:00
Patrik Oldsberg 910057bc8a v0.1.1-alpha.11 2020-06-23 21:27:58 +02:00
Patrik Oldsberg 6300d4a917 v0.1.1-alpha.10 2020-06-23 16:08:05 +02:00
Marcus Eide a5785b80fa Identity and profile work, wip 2020-06-23 15:45:48 +02:00
Raghunandan 78baf7f932 backend - fix types + refactoring 2020-06-22 18:02:19 +02:00
Patrik Oldsberg 180be84ba2 auth-backend: clean up naming and types of TokenFactory time handling 2020-06-21 17:00:54 +02:00
Patrik Oldsberg 3562d836fe auth-backend: some review feedback of oidc bits 2020-06-21 17:00:54 +02:00
Patrik Oldsberg 031b1d8b39 auth-backend: remove logging from DatabaseKeyStore 2020-06-21 17:00:54 +02:00
Patrik Oldsberg 20cb44ff2c auth-backend: more docs for TokenFactory 2020-06-21 17:00:54 +02:00
Patrik Oldsberg 8e05f91c29 auth-backend: added tests for TokenFactory and fix keyDuration being ignored 2020-06-21 17:00:53 +02:00
Patrik Oldsberg 5d85c188b2 auth-backend: added tests for DatabaseKeyStore 2020-06-21 17:00:53 +02:00
Patrik Oldsberg a4bbcaa002 auth-backend: refactor identity to remove logic from storage layer 2020-06-21 17:00:53 +02:00
Patrik Oldsberg a1e975b8ac auth-backend: document identity types 2020-06-21 17:00:53 +02:00
Patrik Oldsberg 48b6f9533c auth-backend: refactor identity APIs for forwards compatibility 2020-06-21 17:00:52 +02:00
Patrik Oldsberg 625f50725b auth-backend: update standalone setup to use service builder and HMR 2020-06-21 17:00:52 +02:00
Patrik Oldsberg 5bd70f9aa5 auth-backend: issue user id tokens when signing in with google or github 2020-06-21 17:00:52 +02:00
Patrik Oldsberg f2746a6eec auth-backend: move logger setup out from constructors and use non-reserved fields 2020-06-21 17:00:52 +02:00
Patrik Oldsberg c72056eb29 auth-backend: make key duration configurable 2020-06-21 17:00:51 +02:00
Patrik Oldsberg 55faf713c3 auth-backend: fix jwks response not wrapping keys in object 2020-06-21 17:00:51 +02:00
Patrik Oldsberg af0bfccbb5 auth-backend: generate kid with uuid and use P-256 2020-06-21 17:00:51 +02:00
Patrik Oldsberg b0bf34cfc9 auth-backend: use well-known route for jwks 2020-06-21 17:00:50 +02:00
Patrik Oldsberg ca9a2ddf1a auth-backend: hook up oidc router and token issuer/db 2020-06-21 17:00:50 +02:00
Patrik Oldsberg adc574ee33 auth-backend: make DatabaseKeyStore only return valid keys and remove expired ones 2020-06-21 17:00:50 +02:00
Patrik Oldsberg 90cc2ca615 auth-backend: expire signing keys 2020-06-21 17:00:49 +02:00
Patrik Oldsberg 0a305d7f70 auth-backend: initial identity provider implementation 2020-06-21 17:00:49 +02:00
Raghunandan b421ba6b8d review fixes 2020-06-18 13:55:03 +02:00
Raghunandan efd632d9ce logout -> sign out 2020-06-18 12:10:44 +02:00
Raghunandan bf93cfb343 docs docs 2020-06-18 12:09:05 +02:00
Patrik Oldsberg 034c04c259 plugins/auth-backend: load config in standalone environment 2020-06-17 17:06:03 +02:00
Patrik Oldsberg e923d751a7 plugins/auth-backend: read backend.baseUrl from config 2020-06-17 16:54:02 +02:00