Commit Graph

1083 Commits

Author SHA1 Message Date
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
Patrik Oldsberg 63421b1729 Merge pull request #16186 from KatharinaSick/feature/bitbucket-server-auth-provider
feat(auth): add auth provider for Bitbucket Server
2023-02-13 23:06:01 +01:00
Katharina Sick 02ac23ea90 reset node-fetch version
Signed-off-by: Katharina Sick <katharina.sick@dynatrace.com>
2023-02-13 16:34:37 +01:00
Katharina Sick 1fad33684e use node-fetch
Signed-off-by: Katharina Sick <katharina.sick@dynatrace.com>
2023-02-13 16:31:49 +01:00
Katharina Sick 0c1d0229aa remove not needed test dependencies
Signed-off-by: Katharina Sick <katharina.sick@dynatrace.com>
2023-02-13 13:46:03 +01:00
Patrik Oldsberg 5febb216fe backend-plugin-api: refactor CacheService to lift up client methods to the service
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-10 10:19:44 +01:00
Katharina Sick bb3e4c3f8d use msw for tests & fix resolver type
Signed-off-by: Katharina Sick <katharina.sick@dynatrace.com>
2023-02-07 17:33:31 +01:00
github-actions[bot] b2a73c984a Version Packages (next) 2023-02-07 15:03:45 +00:00
Katharina Sick d19c77cc41 fixed API report errors and regenerated the reports
Signed-off-by: Katharina Sick <katharina.sick@dynatrace.com>
2023-02-07 08:55:10 +01:00
Katharina Sick 8940c27279 Add API report
Signed-off-by: Katharina Sick <katharina.sick@dynatrace.com>
2023-02-06 12:04:37 +01:00
Katharina Sick db10b6ef65 feat(auth): add auth provider for Bitbucket Server
Signed-off-by: Katharina Sick <katharina.sick@dynatrace.com>
2023-02-06 11:10:58 +01:00
headphonejames 564de00947 update api reports
Signed-off-by: headphonejames <generalfuzz@gmail.com>
2023-02-03 13:35:28 -08:00
headphonejames 167f457803 fix missing code fixes from update after PR review.
Signed-off-by: headphonejames <generalfuzz@gmail.com>
2023-02-03 12:18:50 -08:00
headphonejames ae4d826fb2 Updates to redirect implementation after initial PR review.
Signed-off-by: headphonejames <generalfuzz@gmail.com>
2023-02-03 12:03:01 -08:00
Alex Crome f79df8ab24 Initial easyauth work
Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2023-02-01 12:02:24 +00:00
github-actions[bot] 675324ed19 Version Packages (next) 2023-01-31 14:45:37 +00:00
github-actions[bot] 12a7b316ee Version Packages (next) 2023-01-24 12:01:10 +00:00
headphonejames 9a9170047b Implementation for oauth2 authentication using a redirect flow (without window popup) from frontend to backend API, followed by a redirect back to the fronted. A localstorage provider token is added before the redirect to the backend auth API.
During the subsequent front end refresh an asynchronous backstage session refresh is triggered when the provider token is put in localstorage. The session refresh will return a backstage authentication token if authentication succeeded during the previous backend auth API execution.

Addresses https://github.com/backstage/backstage/issues/9582

Signed-off-by: headphonejames <generalfuzz@gmail.com>
2023-01-18 14:32:00 -08:00
github-actions[bot] 6d46667727 Version Packages 2023-01-17 11:50:48 +00:00
github-actions[bot] 9521f1274d Version Packages (next) 2023-01-10 14:18:51 +00:00
Johan Haals 5437fe488f Migrate Cache and Database types into backend-plugin-api
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2023-01-04 13:14:47 +01:00
github-actions[bot] c4132274d9 Version Packages (next) 2023-01-03 14:44:31 +00:00
github-actions[bot] f834622f56 Version Packages (next) 2022-12-27 15:22:57 +00:00
github-actions[bot] 3245539963 Version Packages 2022-12-20 11:30:21 +00:00
github-actions[bot] b2f4e97add Version Packages (next) 2022-12-13 16:56:03 +00:00