Commit Graph

19249 Commits

Author SHA1 Message Date
Pete Jespers 8c4397730c Add QBE as a Backstage adopter
Signed-off-by: Pete Jespers <pete.jespers@uk.qbe.com>
2021-11-19 10:30:20 +00:00
Mike Lewis 92439056fb add changeset for new PermissionClient constructor signature
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-19 09:36:02 +00:00
Mike Lewis d1dcd7e309 permission-common: make permission.enabled config optional
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-19 09:36:02 +00:00
Mike Lewis 430b3f7a8f permission-common: accept configApi in PermissionClient constructor
Moving the responsibility of pulling the right configuration key inside
the PermissionClient keeps it as the responsibility of
permission-common, whereas putting it on the outside means anyone
constructing a PermissionClient has to know which key to use.

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-19 09:35:09 +00:00
Patrik Oldsberg 2d03529828 Merge pull request #8144 from backstage/jhaals/errorz
errors: rework error response naming
2021-11-19 09:49:39 +01:00
Gauthier Roebroeck 20900440a3 disable snyk workflow on forks
Signed-off-by: Gauthier Roebroeck <gauthier.roebroeck@gmail.com>
2021-11-19 16:43:10 +08:00
Fredrik Adelöw d83ce65d5b Merge pull request #8148 from backstage/freben/notitle
use id instead of title in the default plugin routes
2021-11-19 09:38:24 +01:00
Patrik Oldsberg 784cfe482d Merge pull request #8157 from backstage/dependabot/npm_and_yarn/types/diff-5.0.1
chore(deps-dev): bump @types/diff from 5.0.0 to 5.0.1
2021-11-19 09:24:43 +01:00
dependabot[bot] 0496f6497c chore(deps-dev): bump @types/diff from 5.0.0 to 5.0.1
Bumps [@types/diff](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/diff) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/diff)

---
updated-dependencies:
- dependency-name: "@types/diff"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-19 04:07:58 +00:00
Patrik Oldsberg db8d694229 Merge pull request #8153 from backstage/rugvip/typfix
core-app-api: fix and release accidental createApp type breakage
2021-11-19 00:09:22 +01:00
Patrik Oldsberg 0fae9f2c0b core-app-api: fix and release accidental createApp type breakage
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-11-18 22:54:46 +01:00
Fredrik Adelöw eb780ea9e7 Merge pull request #8155 from caeugusmao/master
Add Globo as a Backstage Developer Portal adapter
2021-11-18 22:44:38 +01:00
Carlos Eugenio Rodrigues Gusmão 478c4e180a Add Globo as a Backstage Developer Portal adapter 2021-11-18 18:12:41 -03:00
sblausten 157530187a Add Changeset
Signed-off-by: sblausten <sam@roadie.io>
2021-11-18 19:00:28 +01:00
sblausten bfa5957669 Change sidebar to be pinned by default
Signed-off-by: sblausten <sam@roadie.io>
2021-11-18 18:25:43 +01:00
Nataliya Issayeva 7f0d927d99 Move authing API requests tutorial to main docs
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 08:46:28 -08:00
Otto Sichert 97b8c8c8fc Ensure all relevant port references are updated and document changes
Signed-off-by: Otto Sichert <git@ottosichert.de>
2021-11-18 17:23:43 +01:00
Fredrik Adelöw ee055cf6db use id instead of title in the default plugin routes
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-18 17:00:39 +01:00
Nataliya Issayeva 6968b52b9d Update changeset
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:57:53 -08:00
Nataliya Issayeva 98bad1b7d8 Update changeset and docs
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:57:53 -08:00
Nataliya Issayeva 96bf8661b8 Add changeset
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:57:53 -08:00
Nataliya Issayeva c149a56f79 Fix prettier error maybe
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:57:53 -08:00
Nataliya Issayeva 0f5744a5a2 Mark auth secret as secret
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:57:53 -08:00
Nataliya Issayeva 8e77f47119 Add missing tokenManager in default app backend
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:57:53 -08:00
Nataliya Issayeva 640ba82ca6 Update api reports
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:57:53 -08:00
Nataliya Issayeva f04f38dbcd Fix collator tests
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:57:53 -08:00
Nataliya Issayeva 83aa387b62 Default to noop tokenManager and no backend secret
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:57:53 -08:00
Nataliya Issayeva c35abaadee Clean up tests a bit
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:57:52 -08:00
Nataliya Issayeva 74801b176b Update authenticate api request tutorial doc
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:57:52 -08:00
Nataliya Issayeva 9cbb3cf908 Remove auth middleware
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:57:52 -08:00
Nataliya Issayeva fca908a7d6 Move IdentityClient back to auth-backend
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:56:43 -08:00
Nataliya Issayeva b38d77f4f0 Change AuthIdentityTokenManager to ServerTokenManager
Co-authored-by: Joe Porpeglia <joeporpeglia@users.noreply.github.com>
Co-authored-by: Tim Hansen <timbonicus@gmail.com>
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:56:42 -08:00
Nataliya Issayeva fa6a9b797f Update AuthIdentityTokenManager tests
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:56:42 -08:00
Nataliya Issayeva 8fa1098cd5 Handle optionally set backend auth secret
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:55:26 -08:00
Nataliya Issayeva 8ceffe5f98 Use backend secret from config
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:55:26 -08:00
Nataliya Issayeva 7589795798 Use correct JWT type and algorithm
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:55:26 -08:00
Nataliya Issayeva 2533294ec1 Static create and private constructor not really needed
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:55:26 -08:00
Nataliya Issayeva 1b2bd0ec01 Add basic tests
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:55:26 -08:00
Nataliya Issayeva f3d9de436f Make tokenManager constructor private and add static create method
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:55:26 -08:00
Nataliya Issayeva c4bdd04515 Use and validate JWT for servers
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:55:26 -08:00
Joe Porpeglia 2a320c21b4 Pass auth token from document collators
Co-authored-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
Co-authored-by: Tim Hansen <timbonicus@gmail.com>
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2021-11-18 07:55:25 -08:00
Nataliya Issayeva 657a6a0b8e Add code to enable authorization
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:55:25 -08:00
goenning 2017de90da add changeset
Signed-off-by: goenning <me@goenning.net>
2021-11-18 15:54:10 +00:00
Nataliya Issayeva 7b4f1ed0b9 Add TODOs
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:51:42 -08:00
Nataliya Issayeva 4f066c3be6 Inject tokenManager into plugin environment
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:51:42 -08:00
Nataliya Issayeva 883b9ad29f Use IdentityClient to validate frontend tokens
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:51:42 -08:00
Nataliya Issayeva f96679d0e6 Move IdentityClient to backend-common
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:51:42 -08:00
Nataliya Issayeva e7e55cdce1 Add TokenManager interface and basic implementation
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2021-11-18 07:51:41 -08:00
Otto Sichert bab752e2b3 Add changeset
Signed-off-by: Otto Sichert <git@ottosichert.de>
2021-11-18 16:45:57 +01:00
Otto Sichert b23bc7f9c3 Change default port of backend to 7007 due to MacOS Control Center update
Signed-off-by: Otto Sichert <git@ottosichert.de>
2021-11-18 16:45:57 +01:00