Commit Graph

396 Commits

Author SHA1 Message Date
Nils Streijffert cba94afe17 Merge pull request #4386 from backstage/auth-backend-port-to-luxon
Auth backend port to Luxon
2021-02-11 14:22:30 +01:00
github-actions[bot] aa49ca2284 Version Packages 2021-02-11 10:15:47 +00:00
Nils Streijffert 072a960518 Move parseDate function 2021-02-11 10:37:58 +01:00
Nils Streijffert 01700ceccd Prettier fix 2021-02-11 10:30:48 +01:00
Nils Streijffert a107018191 Add line 2021-02-11 10:22:34 +01:00
Nils Streijffert 636c70ac91 Use JS Date instead of Datetime 2021-02-11 10:16:34 +01:00
Patrik Oldsberg 0bc14f2943 Merge pull request #4476 from rmanny/remove-default-scope-oidc
Don't pass default as a scope to OIDC providers
2021-02-10 22:26:51 +01:00
Patrik Oldsberg afa453f744 Merge pull request #4465 from n2ygk/config_oauth_scope
Add configurable OAuth 2.0 scopes
2021-02-10 22:26:30 +01:00
Ryan Manny 9f740b443d Fix line endings 2021-02-10 10:40:44 -08:00
Ryan Manny ca7b66d0a1 Don't pass default as a scope to OIDC providers 2021-02-10 10:29:15 -08:00
Patrik Oldsberg 227a59688a refactor existing usage of ApiContext 2021-02-10 12:06:22 +01:00
Patrik Oldsberg 6a50c6747d Merge branch 'master' into feat/api-auth-client 2021-02-10 11:39:45 +01:00
Alan Crosswell 9c302e39bf incorrectly added callbackUrl 2021-02-09 15:01:46 -05:00
Alan Crosswell 07bafa248e Add configurable OAuth 2.0 scopes
- Add oauth2 config for optional scopes
- Document oauth2 config keys
- Add OAuth2 to demo app list of identity providers
2021-02-09 14:50:20 -05:00
Nils Streijffert 529c8501b8 Create utc DateTime object directly 2021-02-08 09:51:57 +01:00
Nils Streijffert f6e56e6cfb Fix prettier formatting 2021-02-04 17:55:00 +01:00
Nils Streijffert b3b90acee7 Changed to fromSQL 2021-02-04 16:49:06 +01:00
Nils Streijffert a816fd2f33 Update DatabaseKeyStore.ts 2021-02-04 15:14:18 +01:00
Nils Streijffert 190f2358fd Update plugins/auth-backend/src/identity/TokenFactory.ts
Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-02-04 15:05:34 +01:00
Nils Streijffert bd29ebb605 Fix tsc, prettier and import issues 2021-02-04 15:02:37 +01:00
github-actions[bot] 6794967d20 Version Packages 2021-02-04 13:02:30 +00:00
Nils Streijffert 8737a637cb Merge branch 'master' into auth-backend-port-to-luxon 2021-02-04 13:30:54 +01:00
Nils Streijffert 306dc12f3a Port moment to luxon 2021-02-04 11:36:40 +01:00
Nils Streijffert 8ff4fe598c Add luxon and remove moment 2021-02-04 11:35:21 +01:00
Erik Larsson 124d21c20a Refactor to use context argument 2021-02-03 02:17:35 +01:00
Erik Larsson 1476950a12 Increase code coverage 2021-02-03 02:17:34 +01:00
Erik Larsson 97d13a8889 Use request options 2021-02-03 02:17:34 +01:00
Erik Larsson 3af90e2f46 Fix test 2021-02-03 02:17:34 +01:00
Erik Larsson b3e9b08fd7 tsc 2021-02-03 02:17:34 +01:00
Erik Larsson 0e40a5915d Fix client reference 2021-02-03 02:17:33 +01:00
Erik Larsson be2958d731 CatalogIdentityClient uses CatalogClient 2021-02-03 02:17:33 +01:00
Erik Larsson 570884ece6 Fix linting 2021-02-03 02:17:32 +01:00
Erik Larsson 6ed2b47d60 Add identity token to api requests 2021-02-03 02:17:32 +01:00
github-actions[bot] cda741034d Version Packages 2021-01-28 10:46:08 +00:00
Jonah Back 6ddfdca123 fix aws alb auth provider key caching 2021-01-26 16:54:52 -08:00
Jonah Back da8b9ef1d8 add fields to config type for aws-alb provider 2021-01-26 11:41:41 -08:00
Jonah Back 4eaa060572 Fix test, add changeset for ALB provider bug fix 2021-01-26 10:54:14 -08:00
Jonah Back f8b652614e fix: change issuer to iss to conform to JWT spec. Make issuer verification optional 2021-01-26 10:50:12 -08:00
Jonah Back 39b05b9ae0 fix: use .text instead of .json for ALB key http call 2021-01-22 15:00:39 -08:00
github-actions[bot] c5584b62c2 Version Packages 2021-01-21 13:13:05 +00:00
Patrik Oldsberg 58ff7d986e Merge pull request #3916 from erikxiv/feat/api-auth-backend
Optional identity token authorization of api requests
2021-01-21 13:11:05 +01:00
Patrik Oldsberg 7ae7fc615c auth-backend: revert jose to v3 2021-01-21 12:17:20 +01:00
Jonah Back c837adc23a Address some final review coments about cross-fetch and type-casting 2021-01-19 21:20:49 -08:00
Erik Larsson b798e8b9e8 Refactored as per PR comments 2021-01-20 01:06:34 +01:00
Erik Larsson acaa350fe5 Added more IdentityClient tests 2021-01-19 23:03:43 +01:00
Erik Larsson c2926a6c0c Refactored away from passport into IdentityClient 2021-01-19 23:03:43 +01:00
Erik Larsson 67e60126bb TODO: Extract and add tests to refreshKeyStore 2021-01-19 23:03:13 +01:00
Erik Larsson 4323cc66f9 Added todo on settling user format for authorized users 2021-01-19 23:03:13 +01:00
Erik Larsson 796d1fefbd Fix linting 2021-01-19 23:03:13 +01:00
Erik Larsson a2291d7cc5 Optional identity token authorization of api requests 2021-01-19 23:03:13 +01:00