Fredrik Adelöw
400aa2313a
Add FetchMiddlewares.clarifyFailures and improve permission error handling
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
Signed-off-by: Fredrik Adelöw <freben@spotify.com >
2026-03-28 16:55:33 +01:00
Yannik Daellenbach
7502dd0678
Add auth provider for OpenShift
...
Signed-off-by: Yannik Daellenbach <yannik@daellenbach.org >
2025-09-02 14:08:17 +02:00
Paul Schultz
2e26579e06
chore: update react imports
...
Signed-off-by: Paul Schultz <pschultz@pobox.com >
2025-04-08 07:35:24 -05:00
Patrik Oldsberg
12f8e0170a
app-defaults: use FrontendHostDiscovery by default
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2025-03-11 15:27:45 +01:00
Ethan
c66fe900d5
Update incorrect comments about optional app options for createApp(...)
...
Signed-off-by: Ethan <182492+ethanwillis@users.noreply.github.com >
2024-10-30 19:40:36 -05:00
Emma Indal
c8ad28f3dc
add external link icon to default icons
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2024-09-24 10:35:04 +02:00
RedlineTriad
8c40e55777
fix(app-defaults): propagate missing bitbucket server auth environment
...
Signed-off-by: RedlineTriad <39059512+RedlineTriad@users.noreply.github.com >
Co-authored-by: Johan Haals <johan.haals@gmail.com >
2024-09-20 11:03:03 +02:00
Stephen Glass
b537bd7a6b
custom theme options for star icon
...
Signed-off-by: Stephen Glass <stephen@stephen.glass >
2024-09-04 23:21:58 -04:00
Patrik Oldsberg
ddccbbde86
Merge pull request #22189 from jithenms/feature/add-stack-trace-in-error-page
...
[feat] add stack trace option in error page
2024-02-06 13:42:34 +01:00
Patrik Oldsberg
9ad1b8f36d
Merge pull request #22549 from jamieklassen/vmware-cloud-auth-utility-api
...
Utility API for VMware Cloud auth
2024-02-06 12:02:15 +01:00
Jithen Shriyan
589006c37d
[feat] include stack trace in accordion by default and update existing error refs
...
Signed-off-by: Jithen Shriyan <shriyanjithen@gmail.com >
2024-02-03 12:36:22 -05:00
Fredrik Adelöw
7642045c66
Merge pull request #22401 from Evernorth/kp/fix-misleading-status-code-in-error-page
...
fix(Error): resolve misleading HTTP status code 501 in Error page. Fixes #22159
2024-01-31 15:26:38 +01:00
Jamie Klassen
f919be97d9
Utility API for VMware Cloud auth
...
Signed-off-by: Jamie Klassen <jamie.klassen@broadcom.com >
2024-01-26 12:38:50 -05:00
Martin Ohmann
7da67ce937
fix(auth): use default scope account for Bitbucket auth
...
Fixes https://github.com/backstage/backstage/issues/22383
The scope `team` does not exist, a list of valid OAuth2 scopes can be
found here:
- https://developer.atlassian.com/cloud/bitbucket/rest/intro/#bitbucket-oauth-2-0-scopes
The `passport-bitbucket-oauth2` package implementing OAuth2 for
Bitbucket under the hood uses the `/2.0/user` API to retrieve the user
information, which requires the `account` scope:
- https://developer.atlassian.com/cloud/bitbucket/rest/api-group-users/#api-user-get
- https://github.com/bithound/passport-bitbucket-oauth2/blob/master/lib/passport-bitbucket/strategy.js#L60
Signed-off-by: Martin Ohmann <martin.ohmann@bonial.com >
2024-01-23 17:59:31 +01:00
Karthikeyan Perumal
e6023ab9e0
Merge branch 'master' into kp/fix-misleading-status-code-in-error-page
2024-01-20 17:12:46 -06:00
Karthikeyan Perumal
214f2da8c1
fix(Error): resolve misleading HTTP status code 501 in Error page. Fixes #22159
...
Signed-off-by: Karthikeyan Perumal <7823084+karthikeyanjp@users.noreply.github.com >
2024-01-19 19:45:16 -06:00
David Weber
f899eecf07
fix: change kind:resource icon
...
Signed-off-by: David Weber <david.weber@w3tec.ch >
2024-01-18 05:46:07 +01:00
Heikki Hellgren
1a0616fa10
fix: add missing resource app icon
...
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2023-09-25 13:21:18 +02:00
Patrik Oldsberg
8bca331617
app-defaults: switch to use new unified themes
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-05-23 16:11:13 +02:00
Alex Crome
575d9178ef
Updated customise theme docs
...
The custom theme document talks about System Icons, then immediatly ignores the existance of these in the `Sidebar Sub-menu` example a couple of paragraphs later.
This commit updates the docs to make use of these icons, as well as adding an icon for resource types to the default icons.
Also updated the sidebar in example app to use this same approach
Signed-off-by: Alex Crome <afscrome@users.noreply.github.com >
2023-05-01 11:01:23 +01:00
headphonejames
63a6a3d44b
rebase and fix bitbucket server
...
Signed-off-by: headphonejames <generalfuzz@gmail.com >
2023-02-27 17:32:00 -08: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
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
ae4d826fb2
Updates to redirect implementation after initial PR review.
...
Signed-off-by: headphonejames <generalfuzz@gmail.com >
2023-02-03 12:03:01 -08: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
Heikki Hellgren
bca8e8b393
feat: allow specifying app level feature flags
...
application feature flags can be defined in the application
creation. see docs/plugins/feature-flags.md for reference.
closes #15553
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi >
2023-01-10 11:29:45 +02:00
Patrik Oldsberg
881fc75a75
core: remove usage of explicit type parameters for BackstagePlugin
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-07-12 13:50:17 +02:00
Johan Haals
0ce1d75871
core-plugin-api: Remove generic auth APIs
...
Signed-off-by: Johan Haals <johan.haals@gmail.com >
2022-02-25 14:00:07 +01:00
MT Lewis
5f1333a60b
Merge pull request #8357 from backstage/example-app-permission-integration
...
Example app permission integration
2021-12-22 14:32:25 +00:00
Colton Padden
80d4435e37
removed documentation links to the @backstage/core-app-api#createApp
...
Signed-off-by: Colton Padden <colton.padden@fastmail.com >
2021-12-17 15:04:36 -05:00
Colton Padden
5d6684f0df
release-2021-11-18 packages/core-plugin-api/src/apis/definitions/AppThemeApi.ts:45
...
Signed-off-by: Colton Padden <colton.padden@fastmail.com >
2021-12-17 15:04:35 -05:00
Joon Park
f898c014ca
Add explicit instance variable to denote the given token manager's scope of authentication
...
Signed-off-by: Joon Park <joonp@spotify.com >
2021-12-17 18:52:36 +00:00
Joon Park
0e8ec6d974
Rename all the things
...
Signed-off-by: Joon Park <joonp@spotify.com >
2021-12-17 18:16:47 +00:00
Joon Park
816e0e04f9
Address various comments round 1
...
Signed-off-by: Joon Park <joonp@spotify.com >
2021-12-17 18:16:47 +00:00
Fredrik Adelöw
3fa31ec84a
address comments
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-12-15 19:29:42 +01:00
Fredrik Adelöw
7927005152
Add fetchApiRef which implements fetch, plus Backstage token header when available.
...
This intends to be the basis for other plugins' data fetching needs, so that they can transparently interact with the catalog and other parts of the Backstage ecosystem without explicitly having to deal with authenticating themselves.
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-12-15 19:29:42 +01:00
Patrik Oldsberg
eb489db0c1
app-defaults: lazier api initialization to work around import cycle
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-11 17:26:48 +01:00
Patrik Oldsberg
cdbddf196f
app-defaults: clean up dependencies
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-11 17:26:47 +01:00
Patrik Oldsberg
c98c5c3d00
core-app-api: switch auth provider icons to be empty by default
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-11 17:26:46 +01:00
Patrik Oldsberg
60e5d356cb
core-app-api: add missing core feature icons + move icon things around a bit
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-11 17:26:46 +01:00
Patrik Oldsberg
1c3413bab0
app-defaults,core-app-api: refactor into createApp/createSpecializedApp split
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-11 17:26:13 +01:00
Patrik Oldsberg
3fb98cfcbf
app-defaults: move defaultConfigLoader back to core-app-api
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-11 17:25:01 +01:00
Patrik Oldsberg
5bfe8917c7
app-defaults: move AppThemeProvider back to core-app-api
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-11 17:25:01 +01:00
Patrik Oldsberg
60d1b30c21
app-defaults: refactor things into folders and move things closer to home
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-11 17:25:01 +01:00
Patrik Oldsberg
a82aa54e27
packages: new app-defaults package + move over withDefaults
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-11 17:25:01 +01:00