Commit Graph

45599 Commits

Author SHA1 Message Date
dependabot[bot] c8375565e2 build(deps): bump @babel/traverse from 7.23.0 to 7.23.2 in /microsite
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.23.0 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 21:24:05 +00:00
backstage-goalie[bot] be7894468a Merge pull request #20623 from backstage/renovate/diff-5.x-lockfile
chore(deps): update dependency @types/diff to v5.0.6
2023-10-16 21:16:39 +00:00
renovate[bot] 4b7f78f2e8 chore(deps): update dependency @types/diff to v5.0.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 20:29:58 +00:00
Elon Jefferson 911f2cfcf8 Merge pull request #19348 from Sabrina0614/szlo/aws-eks-cluster-call-back
feat(catalog-backend-module-aws): AwsEksClusterProcessor adds ability to pass in entity and pass in region to EKS client callback function
2023-10-16 16:22:39 -04:00
Patrik Oldsberg c1df31c724 Merge pull request #20573 from markussiebert/fix/oidc-refresh-no-token
auth-backend(oidc-provider): Use requested scope if the refresh token request response has none
2023-10-16 20:44:24 +02:00
Patrik Oldsberg 0bfafd7e0b Merge pull request #20619 from backstage/camilaibs/nopre
changeset: exit prerelease
2023-10-16 18:17:07 +02:00
Camila Belo 409b447d0a changeset: exit prerelease
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-10-16 17:54:51 +02:00
Patrik Oldsberg 771ac43197 Merge pull request #20617 from backstage/fix-experimental-backend-watch
cli: exclude non-source code files from watchlist
2023-10-16 17:42:20 +02:00
Phil Kuang 7c048b8e8d Merge pull request #20604 from AmbrishRamachandiran/like-dislike-tooltip
Adding tooltip to like dislike feedback buttons for better ui experience
2023-10-16 10:47:29 -04:00
Vincenzo Scamporlino 425203f898 cli: watch changeset
Co-authored-by: Philipp Hugenroth <philipph@spotify.com>
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2023-10-16 16:40:29 +02:00
Vincenzo Scamporlino b9c4c3528e cli: exclude non-source code files from watchlist
Co-authored-by: Philipp Hugenroth <philipph@spotify.com>
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2023-10-16 16:32:49 +02:00
Patrik Oldsberg 811720c953 Merge pull request #20607 from backstage/rugvip/in
docs/release-notes-template: add in
2023-10-16 11:19:21 +02:00
Patrik Oldsberg 601f2570ab docs/release-notes-template: add in
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-16 11:00:08 +02:00
AmbrishRamachandiran 6183b3ff76 Adding tooltip to like dislike feedback buttons
Signed-off-by: AmbrishRamachandiran <ambrish.r@infosys.com>
2023-10-16 12:02:35 +05:30
AmbrishRamachandiran 48c8b93e98 Adding tooltip to like dislike feedback buttons
Signed-off-by: AmbrishRamachandiran <ambrish.r@infosys.com>
2023-10-16 11:48:00 +05:30
Fredrik Adelöw 78bc50af22 Merge pull request #19881 from Abhay-soni-developer/jenkins/jobrun-table
jenkins JobRunTable added
2023-10-14 17:10:22 +02:00
Jamie Klassen e0b5cd9fdb Merge pull request #19846 from RubenV-dev/pinniped-auth
Pinniped Auth Provider
2023-10-13 11:36:24 -04:00
Patrik Oldsberg 0a942585a7 Merge pull request #20522 from Naycon/remove-mock-fs-usage-from-cli-package
Replace mock-fs with createMockDirectory in the cli packages.
2023-10-13 16:55:16 +02:00
Patrik Oldsberg 98c85c6077 Merge pull request #20596 from backstage/rugvip/react-18-compat
dev-utils,techdocs: add conditional support for React 18
2023-10-13 16:40:17 +02:00
Patrik Oldsberg 9468a67b92 dev-utils,techdocs: add conditional support for React 18
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-13 16:06:21 +02:00
Patrik Oldsberg e1bf2a5531 Merge pull request #20575 from backstage/rugvip/react18
type fixes for React 18
2023-10-13 16:03:42 +02:00
Ben Lambert f347782b9d Merge pull request #20585 from backstage/blam/scaffolder-owner 2023-10-13 13:51:57 +02:00
Patrik Oldsberg 28b22b5a6f Merge pull request #20587 from backstage/rugvip/cwdfix
create-app: fix for test not restoring cwd
2023-10-13 11:25:20 +02:00
Patrik Oldsberg 0296f272b4 type fixes for React 18
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-13 11:24:00 +02:00
Patrik Oldsberg 29f2e76b51 create-app: fix for test not restoring cwd
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-13 11:05:56 +02:00
blam 49678f0002 feat: added scaffolder maintainers to the codeowners
Signed-off-by: blam <ben@blam.sh>
2023-10-13 10:15:01 +02:00
Markus 9ff7935152 chore: add changeset
Signed-off-by: Markus <mail@markussiebert.com>
2023-10-12 18:16:04 +02:00
Markus c58f8264f1 fix: empty scope in oidc client response
Signed-off-by: Markus <mail@markussiebert.com>
2023-10-12 17:56:49 +02:00
Patrik Oldsberg b2817daf0c Merge pull request #20562 from backstage/rugvip/legacy
changesets: tweak changeset for backend start change
2023-10-12 16:56:34 +02:00
Patrik Oldsberg c96beb00e7 Merge pull request #20567 from gashcrumb/update-change-handler
fix: Tidy up i18nextTranslationApi change handling
2023-10-12 16:33:10 +02:00
Ruben Vallejo 2f172ba927 remove pinniped provider from default providers in auth-backend
Signed-off-by: Ruben Vallejo <rvallejo@vmware.com>
2023-10-12 10:25:18 -04:00
Ruben Vallejo b497b6e9f3 Extract rfc8693 tokenexchange logic to a helper function
Signed-off-by: Ruben Vallejo <rvallejo@vmware.com>
Co-authored-by: Jamie Klassen <jklassen@vmware.com>
2023-10-12 10:13:40 -04:00
Ruben Vallejo ae34255836 PR chores: changeset, api-report, cleaning, add catalog-info entry
Signed-off-by: Ruben Vallejo <rvallejo@vmware.com>
2023-10-12 10:12:55 -04:00
Ruben Vallejo 362a5e293f Completed Pinniped Authenticator refactor with passing unit tests
Signed-off-by: Ruben Vallejo <rvallejo@vmware.com>
2023-10-12 10:12:55 -04:00
Ruben Vallejo 501a8b5bad WIP: new auth pattern refactor, intro module and authenticator tests, #start refactor complete
Signed-off-by: Ruben Vallejo <rvallejo@vmware.com>
2023-10-12 10:12:55 -04:00
Jamie Klassen 8d3e9c7277 clean up tests
and remove tokenSignedAlg option from pinniped, since it's not actually
configurable by end users. This means that all the tests use ID tokens signed
with a real JWK.

Signed-off-by: Jamie Klassen <jklassen@vmware.com>
2023-10-12 10:12:55 -04:00
Ruben Vallejo 70a3c2631f resolve rebase type/compilation errors
Signed-off-by: Ruben Vallejo <rvallejo@vmware.com>
2023-10-12 10:12:55 -04:00
Ruben Vallejo 5ee7c789ad refactor provider unit tests
Signed-off-by: Ruben Vallejo <rvallejo@vmware.com>
2023-10-12 10:12:55 -04:00
Ruben Vallejo f5be2ec692 Add rfc token exchange logic to #handler success
Signed-off-by: Ruben Vallejo <rvallejo@vmware.com>
2023-10-12 10:12:55 -04:00
Ruben Vallejo eb1dac4d84 Change handler to return scope returned by the tokenset
Signed-off-by: Ruben Vallejo <rvallejo@vmware.com>
2023-10-12 10:12:55 -04:00
Ruben Vallejo 448ff7b10b add offline_access scope to default scope list in #start
Signed-off-by: Ruben Vallejo <rvallejo@vmware.com>
2023-10-12 10:12:55 -04:00
Ruben Vallejo 44483b9a0a refactor and add #refresh to pinnipedAuth provider
Signed-off-by: Ruben Vallejo <rvallejo@vmware.com>
2023-10-12 10:12:55 -04:00
Ruben Vallejo 9fedd45be6 introduce audience parameter into start method and pass it into oauth state, fix integration tests
Signed-off-by: Ruben Vallejo <rvallejo@vmware.com>
2023-10-12 10:12:55 -04:00
Ruben Vallejo 07dcd84379 Add redirect and error methods to the handlers strategy along with unit tests
Signed-off-by: Ruben Vallejo <rvallejo@vmware.com>
2023-10-12 10:12:55 -04:00
Ruben Vallejo ae059825ce Provider requests scopes
Signed-off-by: Ruben Vallejo <rvallejo@vmware.com>
2023-10-12 10:12:55 -04:00
Ruben Vallejo 7dc7a38f3f authorization code exchange for a valid access_token
Signed-off-by: Ruben Vallejo <rvallejo@vmware.com>
2023-10-12 10:12:55 -04:00
Jamie Klassen b6f103de19 working integration test
Some thoughts at this point:
* it would be nice to gather all the fakePinnipedSupervisor setup together
  in the beforeEach rather than spreading it throughout the test body
* we need a real JWK/JWKS endpoint for token signing

Signed-off-by: Jamie Klassen <jklassen@vmware.com>
Co-authored-by: Ruben Vallejo <rvallejo@vmware.com>
2023-10-12 10:12:55 -04:00
Jamie Klassen c1c062ad69 refine requirements for start method
Now the unit tests for the start method should render the '#start' describe
in index.test.ts redundant.

Signed-off-by: Jamie Klassen <jklassen@vmware.com>
Co-authored-by: Ruben Vallejo <rvallejo@vmware.com>
2023-10-12 10:12:54 -04:00
Jamie Klassen 7c26171d2a refactor: minimal passing implementation
Removed all the code that wasn't impacting a failing test, and removed the
"ID token" test -- we'll start with access tokens since they are more important
for our token-exchange use case.

Signed-off-by: Jamie Klassen <jklassen@vmware.com>
Co-authored-by: Ruben Vallejo <rvallejo@vmware.com>
2023-10-12 10:12:54 -04:00
Ruben Vallejo 295dae8ab5 passing pinniped authprovider #handler responds with Id token test
Signed-off-by: Ruben Vallejo <rvallejo@vmware.com>
2023-10-12 10:12:54 -04:00