Commit Graph

998 Commits

Author SHA1 Message Date
Patrik Oldsberg be5a837259 migrate to use workspace ranges
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-21 10:14:53 +02:00
Patrik Oldsberg 8360315ca5 Merge pull request #13559 from backstage/rugvip/jest29
cli: switch to Jest 29
2022-09-20 18:48:50 +02:00
Patrik Oldsberg 272fce8325 Merge pull request #13556 from backstage/eide/allow-third-party-cookies
[auth-backend]: Calculate `SameSite` cookie attribute in defaultCookieConfigurer and default to `none`
2022-09-20 17:20:22 +02:00
Marcus Eide d0f7bb0291 Use origin from request when calculating cookie config in start
Signed-off-by: Marcus Eide <eide@spotify.com>
2022-09-20 15:16:26 +02:00
Patrik Oldsberg 2e4e6c3500 test fixes to support Jest 29
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 14:51:19 +02:00
github-actions[bot] 30882884a4 Version Packages 2022-09-20 11:52:02 +00:00
Ben Lambert d2dc96e4d0 Merge pull request #13595 from DavidZemon/feature/allow-more-jwt-claims
feat: Allow passing additional JWT claims to `TokenIssuer`
2022-09-20 11:08:34 +02:00
David Zemon c8e837da5b feat: Use JsonValue for JWT claim values
Signed-off-by: David Zemon <david@zemon.name>
2022-09-19 08:01:14 -05:00
Marcus Eide 04c50e297d Resolve cookie configuration per request
Signed-off-by: Marcus Eide <eide@spotify.com>
2022-09-16 09:57:44 +02:00
github-actions[bot] 423e01d903 Version Packages (next)
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-13 18:00:17 -04:00
Marcus Eide 12943d1ade Calculate SameSite attribute more carefully, defaulting to lax in most cases
Signed-off-by: Marcus Eide <eide@spotify.com>
2022-09-09 11:16:04 +02:00
Joe Patterson 69d478d5b4 Merge branch 'backstage:master' into master 2022-09-09 10:31:27 +10:00
David Zemon dba3c15c96 chore: Add API report
Signed-off-by: David Zemon <david@zemon.name>
2022-09-08 12:06:23 -05:00
David Zemon 19ac96e4c2 feat: Allow passing additional JWT claims to TokenIssuer
Signed-off-by: David Zemon <david@zemon.name>
2022-09-08 11:36:49 -05:00
Joe Patterson 018b7ec1f3 update provider for changes in review and update changeset message
Signed-off-by: Joe Patterson <jrwpatterson@gmail.com>
2022-09-08 20:33:54 +10:00
Joe Patterson 3db53bbfa3 fix prettier error
Signed-off-by: Joe Patterson <jrwpatterson@gmail.com>
2022-09-08 19:49:32 +10:00
Joe Patterson 644b267bde fix the session issue by copying okta
Signed-off-by: Joe Patterson <jrwpatterson@gmail.com>
2022-09-08 18:41:15 +10:00
Joe Patterson 3152ca4b74 run prettier
Signed-off-by: Joe Patterson <jrwpatterson@gmail.com>
2022-09-08 14:25:20 +10:00
Joe Patterson 64fe8e1213 change auth0 passport to the correct passport-auth0 package and allow passing the audience into the auth for api
Signed-off-by: Joe Patterson <jrwpatterson@gmail.com>
2022-09-08 13:52:34 +10:00
Taras 93a1072a0a Updated tests to include validateEntity in mocks
Signed-off-by: Taras <tarasm@gmail.com>
2022-09-07 18:12:01 -04:00
github-actions[bot] f275697d2b Version Packages (next) 2022-09-06 13:11:16 +00:00
Marcus Eide 5fa831ce55 Add optional SameSite attribute to CookieConfigurer and return from defaultCookieConfigurer for secure contexts.
Signed-off-by: Marcus Eide <eide@spotify.com>
2022-09-06 13:12:50 +02:00
renovate[bot] 667d917488 chore(deps): update dependency msw to ^0.47.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-06 07:09:16 +00:00
Patrik Oldsberg 8911f684e1 Yarn 3 automatic formatting changes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-08-31 15:49:38 +02:00
renovate[bot] 87ec2ba4d6 chore(deps): update dependency msw to ^0.46.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-31 01:34:13 +00:00
github-actions[bot] d1ec204774 Version Packages (next) 2022-08-30 12:02:13 +00:00
Fredrik Adelöw aaab1e34da Fix linting errors after #13392
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-30 13:44:09 +02:00
Fredrik Adelöw 2881c53cb3 Merge pull request #13252 from backstage/freben/api-well-ok-then
When the 🧹 s go marching in
2022-08-23 13:55:58 +02:00
Fredrik Adelöw 46eecb9a3f Merge pull request #13237 from tylerd-canva/cfaccess-jwt-pass
Auth Backend: Add JWT to CloudflareAccessResult
2022-08-23 13:45:52 +02:00
github-actions[bot] 18ab337f96 Version Packages (next) 2022-08-23 10:29:17 +00:00
blam 9b37fc59ed chore: reworking tests
Signed-off-by: blam <ben@blam.sh>
2022-08-23 10:53:05 +02:00
Tyler Davis fce5333d15 prettier
Signed-off-by: Tyler Davis <tylerd@canva.com>
2022-08-23 10:50:26 +10:00
Tyler Davis 5296f719f5 add verification to test authHandler and signInResolver
Signed-off-by: Tyler Davis <tylerd@canva.com>
2022-08-23 10:49:38 +10:00
renovate[bot] bf5e9030eb chore(deps): update dependency msw to ^0.45.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-22 02:27:29 +00:00
Tyler Davis 477d05d9c7 prettier
Signed-off-by: Tyler Davis <tylerd@canva.com>
2022-08-22 09:08:46 +10:00
Tyler Davis 1b66ad8c3b review comments
Signed-off-by: Tyler Davis <tylerd@canva.com>
2022-08-22 08:38:04 +10:00
Fredrik Adelöw a291688bc5 Renamed the RedirectInfo type to OAuthStartResponse
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-19 16:35:20 +02:00
Fredrik Adelöw 2fc41ebf07 auth-backend
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-19 13:54:05 +02:00
Tyler Davis 3b40d80747 update API report
Signed-off-by: Tyler Davis <tylerd@canva.com>
2022-08-19 11:48:17 +10:00
Tyler Davis e1ebaeb332 Add the JWT to the CloudflareAccessResult
Signed-off-by: Tyler Davis <tylerd@canva.com>
2022-08-19 11:34:42 +10:00
github-actions[bot] a5684d0d53 Version Packages 2022-08-16 12:15:33 +00:00
Fredrik Adelöw 92843d1c3a Merge pull request #13035 from darthaud/fix/allow-skip-migrations
fix(auth-plugin-backend): Allow it to skip migrations
2022-08-12 10:05:20 +02:00
Daniel Dias Branco Arthaud c676a9e07b fix(auth-plugin-backend): Allow it to skip migrations
When auth plugin is using database provider it verify if needs to skip migrations

Signed-off-by: Daniel Dias Branco Arthaud <arthaud@gmail.com>
2022-08-11 22:13:13 -03:00
github-actions[bot] 8a564ab585 Version Packages (next) 2022-08-09 09:56:01 +00:00
renovate[bot] 2d7d6028e1 fix(deps): update dependency @google-cloud/firestore to v6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-02 18:39:52 +00:00
github-actions[bot] 73cee58fc2 Version Packages (next) 2022-07-26 08:37:39 +00:00
github-actions[bot] 7d7da6caec Version Packages 2022-07-19 08:34:21 +00:00
Renlord Yang 154544f43e Properly export CloudflareAccessClaims and CloudflareAccessIdentityProfile types
This allows these types to be used externally when injecting a custom auth handler.

Signed-off-by: Renlord Yang <me@renlord.com>
2022-07-18 21:49:56 +08:00
Renlord Yang abc1d5c7a4 update api-reports in auth-backend
Signed-off-by: Renlord Yang <me@renlord.com>
2022-07-14 23:03:29 +08:00
Renlord Yang 339a4213b8 return cloudflare access claims directly
Signed-off-by: Renlord Yang <renlord@cloudflare.com>
Signed-off-by: Renlord Yang <me@renlord.com>
2022-07-14 22:54:26 +08:00