Nicolas Arnold
7714547af5
Fixing types
...
Signed-off-by: Nicolas Arnold <nic@roadie.io >
2021-10-22 10:40:37 +01:00
Nicolas Arnold
f86173221c
Add callback to allow users to override state
...
This is a slightly different implementation. It allows the user to pass in a reference to a callback so that the state
can be set. It was a suggestion from @Rugvip on a discussion we had offline.
The callback is an async function that returns a Promise<string>
Note: due to the way the OAuthAdapter works, this callback must include an env + nonce. Without them, your oauth request will fail.
Signed-off-by: Nicolas Arnold <nic@roadie.io >
2021-10-22 10:33:04 +01:00
Nicolas Arnold
3b767f19c9
Adopt extra field for OAuth state
...
Currently, the OAuth state is very limited. It only accepts three field:
* env
* nonce
* origin
This does not give the user much flexibility when passing in other fields to the state. Origin is set based on the window location.
Env determined by the running environment of backstage. Nonce, randomly generated every time.
If a user wanted to verify other fields in the state, they would be unable to do so.
For example, let's say you have a GitHub app that serves multiple installations. In order for this to work you need a middle service between github and backstage.
This service needs to programaticaly determine where to redirect the requests to (GitHub apps only allow one redirect url).
Your intermediate service requires you to redirect to other paths on backstage based on the type of request the Github ap
p receives.
By adding in the `extraState` to the Github Provider Options, this can now be achieved. You can set the field to `{'redirect_url': '/some/path/to/redirect/to'}` to complete
the OAuth flow.
Although this is a very specific use case, I believe this will be useful across all the providers.
Signed-off-by: Nicolas Arnold <nic@roadie.io >
2021-10-22 10:23:44 +01:00
Fredrik Adelöw
0ede1cebca
Merge pull request #7724 from backstage/freben/core-types
...
introduce `@backstage/types`
2021-10-22 10:25:32 +02:00
Camila Belo
27c2a740e5
Merge pull request #7726 from szubster/lunr-filter-single-item-array
...
Handle single-item array filter in Lunr search engine
2021-10-22 08:32:17 +02:00
Fredrik Adelöw
3fcc9894f8
Merge pull request #7714 from backstage/freben/stringify-error
...
Add `stringifyError`
2021-10-21 19:08:50 +02:00
Ben Lambert
017a47e585
Merge pull request #7618 from backstage/changeset-release/master
...
Version Packages
2021-10-21 16:50:00 +02:00
Fredrik Adelöw
8c30ae8902
Add stringifyError that is useful for logging e.g. Something went wrong, ${stringifyError(e)}
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-10-21 16:39:12 +02:00
Fredrik Adelöw
66bcc31ec4
some more fixup
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-10-21 16:36:41 +02:00
Fredrik Adelöw
7c5cf5a4a4
add test
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-10-21 16:18:39 +02:00
github-actions[bot]
bf5090e59d
Version Packages
2021-10-21 13:28:13 +00:00
Matthew Clarke
b61c50a12f
fix k8s crd regression ( #7728 )
...
Signed-off-by: mclarke47 <matthewclarke47@gmail.com >
2021-10-21 14:21:35 +01:00
Fredrik Adelöw
447c514899
rename to just types
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-10-21 15:18:37 +02:00
Ben Lambert
f207c39e41
Merge pull request #7642 from kuangp/fix/catalog-register
...
fix(catalog:register): support optional locations
2021-10-21 15:16:52 +02:00
Tomasz Szuba
a369f19e7e
Rename changeset
...
Signed-off-by: Tomasz Szuba <tszuba@box.com >
2021-10-21 15:13:30 +02:00
Patrik Oldsberg
803c5550c5
Merge pull request #7568 from backstage/firestore-keystore
...
auth-backend: Add Firestore as new key-store provider
2021-10-21 14:43:05 +02:00
Ben Lambert
09dea877bb
Merge pull request #7703 from lykkeaxlin/bump-version
...
bump bazaar plugin-catalog-react version
2021-10-21 14:16:30 +02:00
blam
5e43a73dd4
chore: fix up the changeset for the bazaar plugins
...
Signed-off-by: blam <ben@blam.sh >
2021-10-21 14:15:46 +02:00
Patrik Oldsberg
b42d0506bb
Merge pull request #7570 from rv-ddeloff/atlassian-auth
...
Atlassian auth provider
2021-10-21 14:11:38 +02:00
Tomasz Szuba
428061d7e5
Add tests
...
Signed-off-by: Tomasz Szuba <tszuba@box.com >
2021-10-21 14:04:58 +02:00
Patrik Oldsberg
9809e4093a
Merge pull request #7643 from marleypowell/marley/7641-export-ado-types
...
refactor(`@backstage/plugin-azure-devops-backend`): re-exported types from `azure-devops-node-api`
2021-10-21 13:55:24 +02:00
Tomasz Szuba
0de67c4d2a
Handle single-item array filter in Lunr search engine
...
Signed-off-by: Tomasz Szuba <tszuba@box.com >
2021-10-21 13:54:44 +02:00
Patrik Oldsberg
34da1574a3
auth-backend: rename postgres keystore provider to database
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-10-21 13:48:49 +02:00
Daniel Deloff
727554274e
updated api report, adds Atlassian to vocab
...
Signed-off-by: Daniel Deloff <44780793+rv-ddeloff@users.noreply.github.com >
2021-10-21 07:23:23 -04:00
Patrik Oldsberg
9eefb77ca2
Merge pull request #7721 from backstage/dependabot/npm_and_yarn/passport-saml-3.2.0
...
build(deps): bump passport-saml from 3.1.2 to 3.2.0
2021-10-21 13:21:41 +02:00
dependabot[bot]
1bd9548cee
build(deps): bump passport-saml from 3.1.2 to 3.2.0
...
Bumps [passport-saml](https://github.com/node-saml/passport-saml ) from 3.1.2 to 3.2.0.
- [Release notes](https://github.com/node-saml/passport-saml/releases )
- [Changelog](https://github.com/node-saml/passport-saml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/node-saml/passport-saml/compare/v3.1.2...v3.2.0 )
---
updated-dependencies:
- dependency-name: passport-saml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-10-21 10:39:22 +00:00
Ben Lambert
b45020a548
Merge pull request #7555 from dirathea/plugins-k8s-caData-support
...
Plugins k8s ca data support
2021-10-21 11:35:30 +02:00
Patrik Oldsberg
2fe737798e
Merge pull request #7722 from backstage/dependabot/npm_and_yarn/octokit/webhooks-9.17.0
...
build(deps): bump @octokit/webhooks from 9.15.0 to 9.17.0
2021-10-21 11:30:17 +02:00
Ben Lambert
a75e8147a0
Merge pull request #7704 from maurosala/patch-1
...
Update ADOPTERS.md
2021-10-21 11:15:55 +02:00
Patrik Oldsberg
e4387a7132
yarn.lock: dedup @types/react
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-10-21 10:56:59 +02:00
Oliver Sand
d27263153b
Merge pull request #7606 from SDA-SE/feat/msgraphorgentityprovider
...
Add `MicrosoftGraphOrgEntityProvider`
2021-10-21 10:45:44 +02:00
Oliver Sand
93dbdc4538
Merge pull request #7627 from SDA-SE/feat/githuborgentityprovider
...
Add `GitHubOrgEntityProvider`
2021-10-21 10:44:36 +02:00
Marley Powell
e823146635
refactor: Code review improvements.
...
Signed-off-by: Marley Powell <Marley.Powell@exclaimer.com >
2021-10-21 09:31:20 +01:00
Marcus Eide
6237e636eb
Be more specific when accessing firestore provider config
...
Signed-off-by: Marcus Eide <eide@spotify.com >
2021-10-21 10:30:29 +02:00
Oliver Sand
8ba7481eb8
Add more tests
...
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com >
2021-10-21 10:25:18 +02:00
Oliver Sand
665cfed096
Add tests
...
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com >
2021-10-21 10:23:46 +02:00
Patrik Oldsberg
6b387980af
Merge pull request #7658 from awanlin/topic/azure-devops-backend-documentation
...
Improved setup documentation for Azure DevOps backend plugin
2021-10-21 10:21:11 +02:00
Marcus Eide
7e707db187
Undo making database optional
...
Signed-off-by: Marcus Eide <eide@spotify.com >
2021-10-21 10:01:12 +02:00
Fredrik Adelöw
db58c2e879
mark the observable types public
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-10-21 09:52:17 +02:00
Fredrik Adelöw
41c49884d2
introduce core-types
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-10-21 09:45:32 +02:00
Camila Belo
94a9e16a31
Merge pull request #7717 from backstage/rugvip/winfix2
...
techdocs-common: fix helper tests on windows
2021-10-21 09:12:41 +02:00
Fredrik Adelöw
00da5e919f
Merge pull request #7715 from backstage/freben/reports1
...
Add public tags and documentation in the `error` and `config-loader` packages
2021-10-21 08:07:43 +02:00
Klara
b146c4bbdd
add changeset for version bump and newline in yarn.lock
...
Signed-off-by: Klara <klarabroman@live.se >
Co-authored-by: lykkeaxlin <lykkeaxlin@hotmail.com >
2021-10-21 08:06:29 +02:00
dependabot[bot]
5e7eb3edd5
build(deps): bump @octokit/webhooks from 9.15.0 to 9.17.0
...
Bumps [@octokit/webhooks](https://github.com/octokit/webhooks.js ) from 9.15.0 to 9.17.0.
- [Release notes](https://github.com/octokit/webhooks.js/releases )
- [Commits](https://github.com/octokit/webhooks.js/compare/v9.15.0...v9.17.0 )
---
updated-dependencies:
- dependency-name: "@octokit/webhooks"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-10-21 04:47:33 +00:00
Daniel Deloff
cfbe1b97f6
Merge branch 'master' into atlassian-auth
...
Signed-off-by: Daniel Deloff <44780793+rv-ddeloff@users.noreply.github.com >
2021-10-20 22:10:37 -04:00
Daniel Deloff
32cd8e740d
attempting to restore adopters
...
Signed-off-by: Daniel Deloff <44780793+rv-ddeloff@users.noreply.github.com >
2021-10-20 21:17:29 -04:00
Daniel Deloff
b851a64002
attempting to fix adopters
...
Signed-off-by: Daniel Deloff <44780793+rv-ddeloff@users.noreply.github.com >
2021-10-20 21:11:29 -04:00
Daniel Deloff
b72364d9ee
remove signin from identity providers
...
Signed-off-by: Daniel Deloff <44780793+rv-ddeloff@users.noreply.github.com >
2021-10-20 21:09:37 -04:00
Daniel Deloff
deda608b2e
removes default signin resolver, updates tests
...
Signed-off-by: Daniel Deloff <44780793+rv-ddeloff@users.noreply.github.com >
2021-10-20 20:53:54 -04:00
Patrik Oldsberg
e3ebb03833
Merge pull request #7701 from yousifalraheem/master
...
fixed invalid wrap in dismissablebanner component
2021-10-21 00:36:23 +02:00