Commit Graph

232 Commits

Author SHA1 Message Date
github-actions[bot] 4cca80fbf8 Version Packages (next) 2024-02-27 16:48:30 +00:00
renovate[bot] 0fb419ba03 fix(deps): update dependency uuid to v9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 02:29:53 +00:00
Patrik Oldsberg dd10ecf70f Merge pull request #23202 from backstage/freben/sort
sort package.json files that have no PRs active toward them
2024-02-23 19:40:57 +01:00
Fredrik Adelöw c66a99c272 sort package.json files that have no PRs active toward them
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-02-23 13:54:10 +01:00
Patrik Oldsberg b4fc6e3164 auth-node: deprecate getBearerTokenFromAuthorizationHeader
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Carl-Erik Bergström <cbergstrom@spotify.com>
Co-authored-by: blam <ben@blam.sh>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-02-23 10:58:21 +01:00
Ben Lambert 6bd3f3b692 Merge pull request #23127 from backstage/blam/make-provider-info-available
auth: Treat `providerInfo` as a separate property from `authenticate`
2024-02-21 13:52:06 +01:00
blam b1b012d065 chore: fix tests and add changeset
Signed-off-by: blam <ben@blam.sh>
2024-02-21 12:44:45 +01:00
blam 9b810b9a99 feat: treat providerInfo as a seperate return value
Signed-off-by: blam <ben@blam.sh>
2024-02-21 11:43:47 +01:00
Fredrik Adelöw 2af5354361 Bump dependency jose to v5
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-02-21 10:50:31 +01:00
github-actions[bot] f1831dd9b2 Version Packages 2024-02-20 11:04:26 +00:00
Patrik Oldsberg 49cff6ae0f Merge pull request #23077 from afscrome/fixmsauthwithnoprofile
Fix Microsoft Auth Provider when Profile not requested
2024-02-19 20:27:14 +01:00
Alex Crome a0b01eda2c Moved defence against null tokens into defaultProfileTransform to apply more broadly than just Microsoft tokens.
Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2024-02-19 15:07:47 +00:00
github-actions[bot] 7236e15fa2 Version Packages (next) 2024-02-13 14:00:45 +00:00
Fredrik Adelöw 439df11d06 upgrade knip
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-02-12 11:06:30 +01:00
Fredrik Adelöw e97cc0b0a3 updated the knip rules a bit
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-02-08 09:53:18 +01:00
Heikki Hellgren 60a68f10e9 ci: introduce knip for checking unused packages
fixes #21948

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-02-08 08:29:48 +02:00
github-actions[bot] b17a6cccce Version Packages (next) 2024-02-06 14:58:46 +00:00
Jamie Klassen d4cc552ab1 refactor auth plugins to use jose
Signed-off-by: Jamie Klassen <jamie.klassen@broadcom.com>
2024-02-02 11:03:09 -05:00
github-actions[bot] c70c3dc393 Version Packages (next) 2024-01-30 13:38:11 +00:00
github-actions[bot] 185d5ea0b0 Version Packages (next) 2024-01-23 13:57:50 +00:00
github-actions[bot] 8070f67dc4 Version Packages 2024-01-16 11:44:56 +00:00
github-actions[bot] ac277f3c91 Version Packages (next) 2024-01-09 12:44:34 +00:00
github-actions[bot] a3ccddeba5 Version Packages (next) 2024-01-02 10:42:54 +00:00
github-actions[bot] c9f71fba8d Version Packages (next) 2023-12-25 23:42:26 +00:00
github-actions[bot] a9801a3ec9 Version Packages 2023-12-19 13:39:54 +00:00
Fredrik Adelöw 8a23b73866 Merge pull request #21800 from Thutm/SNYK-JS-ZOD-5925617-fix
Fixing Snyk vulnerability SNYK-JS-ZOD-5925617 by upgrading zod packages to latest
2023-12-15 20:43:59 +01:00
github-actions[bot] 3f1192f32f Version Packages (next) 2023-12-12 15:45:17 +00:00
Joseph Campos e8a57e7473 Fixing Snyk vulnerability SNYK-JS-ZOD-5925617 by upgrading zod packages to latest
Signed-off-by: Joseph Campos <joseph.campos@gendigital.com>
2023-12-11 06:57:13 -08:00
github-actions[bot] a7f57602d1 Version Packages (next) 2023-12-05 13:55:44 +00:00
renovate[bot] a62764b94c fix(deps): update dependency passport to ^0.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-29 18:57:19 +00:00
github-actions[bot] 356906bab8 Version Packages (next) 2023-11-28 13:37:18 +00:00
github-actions[bot] 8ece80419a Version Packages (next) 2023-11-21 15:13:12 +00:00
github-actions[bot] c8a8aac2af Version Packages 2023-11-14 13:25:17 +00:00
github-actions[bot] 8a9f0ce86b Version Packages (next) 2023-11-07 09:43:56 +00:00
github-actions[bot] f577e1176f Version Packages (next)
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-31 15:42:09 +01:00
github-actions[bot] 8345a35d04 Version Packages (next) 2023-10-24 11:04:16 +00:00
github-actions[bot] 8cdb8c2e40 Version Packages 2023-10-17 08:54:50 +00: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 70a3c2631f resolve rebase type/compilation errors
Signed-off-by: Ruben Vallejo <rvallejo@vmware.com>
2023-10-12 10:12:55 -04:00
github-actions[bot] e43d3eb1b7 Version Packages (next) 2023-10-10 11:39:03 +00:00
Patrik Oldsberg fdff9cc040 Merge pull request #20317 from mitchhentgesspotify/mhentges/fix-gcp-iap-refresh-500
Fix `authenticate()` ctx properties being missing
2023-10-09 16:41:39 +02:00
Adam Kunicki 8b8b1d23ae auth-node: Refresh handler not returning persisted scope in response
The refresh handler is returning an empty scope if scope was previously
saved in a cookie. The session is successfully refreshed but the client
receives a response without the scope it requested, prompting a new
login.

Resolves #20322

Signed-off-by: Adam Kunicki <kunickiaj@gmail.com>
2023-10-04 10:18:03 -07:00
Mitchell Hentges 6f142d5356 Fix authenticate() ctx properties being missing
This was broken because the return value of `initialize()` was a `Promise<...>` but its caller wasn't `await`-ing the value.

This was causing the `gcpIap` provider to fail on the `/request` endpoint because `jwtHeader` was undefined.

The OAuth equivalent keeps `initialize()` synchronous, and all implementations don't _need_ to be `async`, so make them synchronous instead.

I've chosen the changelog to be a `major` bump since this changes the API of a public type.

Signed-off-by: Mitchell Hentges <mhentges@spotify.com>
2023-10-04 10:08:50 +02:00
github-actions[bot] f95345c845 Version Packages (next) 2023-10-03 10:49:45 +00:00
github-actions[bot] bea3617712 Version Packages (next) 2023-09-26 13:20:00 +00:00
Patrik Oldsberg 911d90e306 auth-node: avoid passing through empty scope in start
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-09-25 20:09:39 +02:00
Patrik Oldsberg 6c2b0793bf auth-node: fix for persisted scopes not being restored on sign-in
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-09-25 14:02:15 +02:00
github-actions[bot] b228d7d9c2 Version Packages
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-09-20 11:24:40 +02:00
github-actions[bot] a6d1580062 Version Packages (next) 2023-09-12 11:41:29 +00:00
github-actions[bot] 32a09adcff Version Packages (next) 2023-09-05 10:03:17 +00:00