Commit Graph

406 Commits

Author SHA1 Message Date
github-actions[bot] 4ae0467c2f Version Packages 2021-02-23 10:31:40 +01:00
Patrik Oldsberg ec504e7b4d auth-backend: fix for refresh token being lost during microsoft login 2021-02-22 17:52:15 +01:00
github-actions[bot] 4188c2ccb4 Version Packages 2021-02-18 13:23:19 +00:00
Patrik Oldsberg d31228eb42 Merge pull request #4531 from backstage/rugvip/authref
auth-backend: refactor providers to accept options, and delay profile transforms
2021-02-15 19:44:13 +01:00
Patrik Oldsberg 2046701e96 auth-backend: fix a camel 2021-02-15 17:26:51 +01:00
Patrik Oldsberg f781754643 auth-backend: move @types/passport to deps 2021-02-15 17:26:24 +01:00
Patrik Oldsberg d9687c524f auth-backend: fix key timestamp parsing with sqlite 2021-02-14 20:00:21 +01:00
Patrik Oldsberg 65fa16dee4 auth-backend: refactor profile transform to happen within handlers instead of verify callback 2021-02-14 17:38:07 +01:00
Patrik Oldsberg b9709efff8 auth-backend: refactor user profile fetch to transform profile outside 2021-02-13 17:42:14 +01:00
Patrik Oldsberg 10e59af4d0 auth-backend: refactor provider factories to accept options 2021-02-12 14:36:46 +01:00
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