Commit Graph

1107 Commits

Author SHA1 Message Date
github-actions[bot] 73e7820731 Version Packages 2023-05-16 09:38:40 +00:00
Fredrik Adelöw 7c116bcac7 await response errors
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-05-12 10:36:20 +02:00
Aramis Sennyey 473db605a4 Enable strict checking of config during CLI.
Signed-off-by: Aramis Sennyey <sennyeya@amazon.com>
2023-05-09 10:04:10 -04:00
github-actions[bot] 4f3076700a Version Packages (next) 2023-05-09 09:49:35 +00:00
Fredrik Adelöw bb2ee9da40 disable the migration test since it's flaky
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-05-08 17:28:50 +02:00
Fredrik Adelöw d85158911f test for mysql too
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-05-05 19:54:50 +02:00
Fredrik Adelöw af321b324c address comments
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-05-04 22:10:14 +02:00
Fredrik Adelöw 3ffcdac7d0 Added a persistent session store
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-05-04 21:58:59 +02:00
github-actions[bot] 8b05da0912 Version Packages (next) 2023-05-02 13:41:12 +00:00
github-actions[bot] e04bb20bdc Version Packages (next) 2023-04-25 15:53:19 +00:00
github-actions[bot] 6141c31839 Version Packages 2023-04-18 12:36:06 +00:00
github-actions[bot] ab75a16da7 Version Packages (next) 2023-04-11 14:21:21 +00:00
Patrik Oldsberg d2085641c4 Merge pull request #17191 from go-xman/feat/export-common-identify-resolver
chore: add common identify resolvers for `oidc` auth provider
2023-04-05 12:42:56 +02:00
mingfu 6a90095133 chore: add common identify resolvers for oidc auth provider
Signed-off-by: mingfu <mingfu@alauda.io>
2023-04-05 18:17:03 +08:00
Johan Haals 0db9d8c10d Merge pull request #17108 from afscrome/easyauthexport
Properly expose easy auth provider
2023-04-05 10:07:00 +02:00
Patrik Oldsberg 715dcb7627 Merge pull request #16323 from jamieklassen/multiaudience-microsoft
Microsoft auth provider manages tokens for multiple resources
2023-04-04 17:48:53 +02:00
github-actions[bot] 9a5a1c4ba2 Version Packages (next) 2023-04-04 13:14:06 +00:00
github-actions[bot] e32dc5e79d Version Packages (next) 2023-03-28 16:01:25 +00:00
Fredrik Adelöw e0c6e8b9c3 get rid of majority of peer dependency warnings in yarn
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-03-27 12:26:23 +02:00
Alex Crome 7019734333 Fix Api Report
Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2023-03-27 00:53:19 +01:00
Alex Crome a0ef1ec734 Properly expose easy auth provider
16108 added support for Azure easy auth, however the provider wasn't properly exposed so it can't be used.
This PR fixes that by properly exposing the provider

Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2023-03-27 00:20:48 +01:00
Jamie Klassen 475abd1dc3 support non-microsoft graph scopes
Signed-off-by: Jamie Klassen <jklassen@vmware.com>
2023-03-24 17:10:25 -04:00
Jamie Klassen 646025786e construct test subject via factory function
Rather than using the MicrosoftAuthProvider constructor directly -- this is
more faithful to how this object is instantiated in practice.

Also, introduce FakeMicrosoftAPI to simulate negotiating scopes, authorization
codes, access tokens, and refresh tokens with Azure.

Signed-off-by: Jamie Klassen <jklassen@vmware.com>
2023-03-24 17:10:17 -04:00
Jamie Klassen 3b0ac0d7e2 convert module mock to msw
This should allow for easier refactoring and adding new microsoft-specific
features.

Signed-off-by: Jamie Klassen <jklassen@vmware.com>
2023-03-24 16:48:41 -04:00
github-actions[bot] 5af2c4f412 Version Packages (next) 2023-03-21 13:38:30 +00:00
Patrik Oldsberg 5ae279d283 Merge pull request #15841 from headphonejames/redirect-oauth-flow
Oauth2 redirect flow for authentication (instead of using popup)
2023-03-21 11:02:42 +01:00
Fredrik Adelöw bf82a97d0c Merge pull request #16899 from sennyeya/secret-scoping
feat(auth-backend): Add correct secret scoping for auth-backend secrets
2023-03-17 12:02:04 +01:00
Aramis Sennyey 0b5febcd75 Make callbackUrl optional.
Signed-off-by: Aramis Sennyey <sennyeya@amazon.com>
2023-03-16 17:36:39 -04:00
github-actions[bot] 24632ad94b Version Packages 2023-03-14 14:31:40 +00:00
Adi Krhan e262738b8a Handle token difference in Microsoft provider
Signed-off-by: Adi Krhan <adikrhan43@gmail.com>
2023-03-13 09:23:59 +01:00
github-actions[bot] 0eceadb950 Version Packages (next) 2023-03-07 17:21:48 +00:00
Aramis Sennyey 19a0d5b429 Add additional auth backend props and limit visibility.
Signed-off-by: Aramis Sennyey <sennyeya@amazon.com>
2023-03-06 17:03:42 -05:00
headphonejames 57ec7e2250 minor clean up
Signed-off-by: headphonejames <generalfuzz@gmail.com>
2023-02-28 17:20:23 -08:00
headphonejames d7e856ad55 simplify code and test cases. clean up rendering.
Signed-off-by: headphonejames <generalfuzz@gmail.com>
2023-02-28 17:05:11 -08:00
github-actions[bot] b19b95fc09 Version Packages (next) 2023-02-28 13:04:36 +00:00
Fredrik Adelöw 414ae1e06e Merge pull request #16539 from KatharinaSick/fix/repourlpicker-workspace
fix: fix getting credentials for Bitbucket Server in the RepoUrlPicker
2023-02-28 10:53:45 +01:00
headphonejames 5177a7f2b4 Merge branch 'master' into redirect-oauth-flow 2023-02-27 17:20:37 -08:00
headphonejames 5acc047748 Move configuration of redirect authentication flow to a global parameter named "enableExperimentalRedirectFlow". Pass the configApi instance into authentication providers to read new configuration parameter.
Signed-off-by: headphonejames <generalfuzz@gmail.com>
2023-02-27 16:34:30 -08:00
Johan Haals 40a4245561 Merge pull request #16531 from backstage/renovate/msw-1.x
chore(deps): update dependency msw to v1
2023-02-23 14:50:18 +01:00
Katharina Sick be3cddaab5 fix: fix getting credentials for Bitbucket Server in the RepoUrlPicker
Signed-off-by: Katharina Sick <katharina.sick@dynatrace.com>
2023-02-22 15:51:47 +01:00
renovate[bot] 52b0022dab chore(deps): update dependency msw to v1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-22 12:55:56 +00:00
renovate[bot] 86cece2c1f chore(deps): update dependency @types/passport-microsoft to v1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-22 09:30:02 +00:00
headphonejames 3ae55c4a8d api reports
Signed-off-by: headphonejames <generalfuzz@gmail.com>
2023-02-21 19:48:35 -08:00
headphonejames ad15aaa285 Add onSignInStarted() and onSignInFailure() hooks. Clean up and renaming.
Signed-off-by: headphonejames <generalfuzz@gmail.com>
2023-02-21 18:45:50 -08:00
github-actions[bot] b4627f23b2 Version Packages (next) 2023-02-21 15:40:30 +00:00
blam f85b100123 chore: fix missing deps
Signed-off-by: blam <ben@blam.sh>
2023-02-17 12:06:59 +01:00
Ben Lambert a71192c115 Merge pull request #16108 from afscrome/easyauth
Azure Easy Auth
2023-02-15 13:50:54 +01:00
Alex Crome b84349e2f6 PR Feedback
Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2023-02-14 14:50:37 +00:00
Alex Crome aa721158d1 Merge remote-tracking branch 'upstream/master' into easyauth 2023-02-14 14:47:01 +00:00
github-actions[bot] 25b57cc07f Version Packages 2023-02-14 13:41:52 +00:00