Commit Graph

28 Commits

Author SHA1 Message Date
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