- Updated dependencies
- @backstage/[email protected]
- 61f464e: Added
auth.providers.<providerId>.sessionDuration
config for auth providers to allow the lifespan of user sessions to be configured.
- 8699b79: Removed unused dependencies
- cb316fc: Add an
error
handler to thestrategy
to reject theexecuteRedirectStrategy
- ab9a6fb: Added
scopeAlreadyGranted
property toOAuthAuthenticatorRefreshInput
, signaling to the provider whether the requested scope has already been granted when persisting session scope. - Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- 61f464e: Added
auth.providers.<providerId>.sessionDuration
config for auth providers to allow the lifespan of user sessions to be configured.
- 8699b79: Removed unused dependencies
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- d9d62ef: Remove some internal usages of the backend-common package
- 8379bf4: Remove usages of
PluginDatabaseManager
andPluginEndpointDiscovery
and replace with their equivalent service types - Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- d9d62ef: Remove some internal usages of the backend-common package
- 8379bf4: Remove usages of
PluginDatabaseManager
andPluginEndpointDiscovery
and replace with their equivalent service types - Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- c907440: Improved error forwarding for OAuth refresh endpoints
- 1e624ca: Restrict
@types/express
version range from*
to^4.17.6
. - 5c9cc05: Use native fetch instead of node-fetch
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- c907440: Improved error forwarding for OAuth refresh endpoints
- 5c9cc05: Use native fetch instead of node-fetch
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- 1e624ca: Restrict
@types/express
version range from*
to^4.17.6
. - Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- a0a9a4a: Browsers silently drop cookies that exceed 4KB, which can be problematic for refresh tokens and other large cookies.This update ensures that large cookies, like refresh tokens, are not dropped by browsers, maintaining the integrity of the authentication process. The changes include both the implementation of the cookie splitting logic and corresponding tests to validate the new functionality.
- 4e58bc7: Upgrade to uuid v11 internally
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- a0a9a4a: Browsers silently drop cookies that exceed 4KB, which can be problematic for refresh tokens and other large cookies.This update ensures that large cookies, like refresh tokens, are not dropped by browsers, maintaining the integrity of the authentication process. The changes include both the implementation of the cookie splitting logic and corresponding tests to validate the new functionality.
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- 217458a: Added a new
allowedDomains
option for the commonemailLocalPartMatchingUserEntityName
sign-in resolver. - 094eaa3: Remove references to in-repo backend-common
- e4ad29a: Fix authentication error handling using redirect flow via
enableExperimentalRedirectFlow
config. If an error is caught during authentication, the user is redirected back to app origin witherror
query parameter containing the error message. - Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- 217458a: Added a new
allowedDomains
option for the commonemailLocalPartMatchingUserEntityName
sign-in resolver. - Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- 094eaa3: Remove references to in-repo backend-common
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- c46eb0f: Extend the "unable to resolve user identity" message
- d908d8c: Accepts an optional options object in the
PassportOAuthAuthenticatorHelper.authenticate
method. - c2b63ab: Updated dependency
supertest
to^7.0.0
. - 6f409b7: The
emailMatchingUserEntityProfileEmail
sign-in resolver will now also try matching emails with plus addressing removed. - Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- d908d8c: Accepts an optional options object in the
PassportOAuthAuthenticatorHelper.authenticate
method. - c2b63ab: Updated dependency
supertest
to^7.0.0
. - Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- c46eb0f: Extend the "unable to resolve user identity" message
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- 579afd0: BREAKING: Sign-in resolvers configured via
.signIn.resolvers
now take precedence over sign-in resolvers passed tosignInResolver
option ofcreateOAuthProviderFactory
. This effectively makes sign-in resolvers passed via thesignInResolver
the default one, which you can then override through configuration.
- 93095ee: Make sure node-fetch is version 2.7.0 or greater
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- 579afd0: BREAKING: Sign-in resolvers configured via
.signIn.resolvers
now take precedence over sign-in resolvers passed tosignInResolver
option ofcreateOAuthProviderFactory
. This effectively makes sign-in resolvers passed via thesignInResolver
the default one, which you can then override through configuration.
- 93095ee: Make sure node-fetch is version 2.7.0 or greater
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- 55c1a72: Fix issues with Atlassian OAuth provider: retrieve the email and photo that were not in arrays but rather in single props.
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
-
798ec37: Updated scope management for OAuth providers, where the
createOAuthAuthenticator
now accepts a new collection ofscopes
options:scopes.persist
- Whether scopes should be persisted, replaces theshouldPersistScopes
option.scopes.required
- A list of required scopes that will always be requested.scopes.transform
- A function that can be used to transform the scopes before they are requested.
The
createOAuthProviderFactory
has also received a newadditionalScopes
option, and will also readadditionalScopes
from the auth provider configuration. Both of these can be used to add additional scopes that should always be requested.A significant change under the hood that this new scope management brings is that providers that persist scopes will now always merge the already granted scopes with the requested ones. The previous behavior was that the full authorization flow would not include existing scopes, while the refresh flow would only include the existing scopes.
-
d44a20a: Added additional plugin metadata to
package.json
. -
Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
-
798ec37: Updated scope management for OAuth providers, where the
createOAuthAuthenticator
now accepts a new collection ofscopes
options:scopes.persist
- Whether scopes should be persisted, replaces theshouldPersistScopes
option.scopes.required
- A list of required scopes that will always be requested.scopes.transform
- A function that can be used to transform the scopes before they are requested.
The
createOAuthProviderFactory
has also received a newadditionalScopes
option, and will also readadditionalScopes
from the auth provider configuration. Both of these can be used to add additional scopes that should always be requested.A significant change under the hood that this new scope management brings is that providers that persist scopes will now always merge the already granted scopes with the requested ones. The previous behavior was that the full authorization flow would not include existing scopes, while the refresh flow would only include the existing scopes.
-
d44a20a: Added additional plugin metadata to
package.json
. -
Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- ea9262b: Allow overriding default ownership resolving with the new
AuthOwnershipResolutionExtensionPoint
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- ea9262b: Allow overriding default ownership resolving with the new
AuthOwnershipResolutionExtensionPoint
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- d62bc51: Add
tokenTypes
export with constants for various Backstage token types. - Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- d62bc51: Add
tokenTypes
export with constants for various Backstage token types. - Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- 038b2e6: Only consider entities of kind
User
when usingfindCatalogUser
with a filter query, unless an explicitkind
filter is provided. - Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- b4fc6e3: Deprecated the
getBearerTokenFromAuthorizationHeader
function, which is being replaced by the newHttpAuthService
. - 2af5354: Bump dependency
jose
to v5 - 0fb419b: Updated dependency
uuid
to^9.0.0
. Updated dependency@types/uuid
to^9.0.0
. - b1b012d: Fix issue with
providerInfo
not being set properly for some proxy providers, by makingproviderInfo
an explicit optional return fromauthenticate
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- b4fc6e3: Deprecated the
getBearerTokenFromAuthorizationHeader
function, which is being replaced by the newHttpAuthService
. - 2af5354: Bump dependency
jose
to v5 - 0fb419b: Updated dependency
uuid
to^9.0.0
. Updated dependency@types/uuid
to^9.0.0
. - b1b012d: Fix issue with
providerInfo
not being set properly for some proxy providers, by makingproviderInfo
an explicit optional return fromauthenticate
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- 71c3b7f: Fix error when Microsoft tokens (or any other using the
defaultProfileTransform
) are requested without the profile scope. - d4cc552: The helper function
makeProfileInfo
andPassportHelpers.transformProfile
were refactored to use thejose
library. - Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- d4cc552: The helper function
makeProfileInfo
andPassportHelpers.transformProfile
were refactored to use thejose
library. - Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- a62764b: Updated dependency
passport
to^0.7.0
. - 0cbb03b: Fixing regular expression ReDoS with zod packages. Upgrading to latest. ref: https://security.snyk.io/vuln/SNYK-JS-ZOD-5925617
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- a62764b: Updated dependency
passport
to^0.7.0
. - Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- 6f142d5356: BREAKING: The recently introduced
ProxyAuthenticator.initialize()
method is no longerasync
to match the way the OAuth equivalent is implemented.
- 6c2b0793bf: Fix for persisted scopes not being properly restored on sign-in.
- 8b8b1d23ae: Fixed cookie persisted scope not returned in OAuth refresh handler response.
- ae34255836: Adding optional audience parameter to OAuthState type declaration
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- 6f142d5356: BREAKING: The recently introduced
ProxyAuthenticator.initialize()
method is no longerasync
to match the way the OAuth equivalent is implemented.
- 8b8b1d23ae: Fixed cookie persisted scope not returned in OAuth refresh handler response.
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- 6c2b0793bf: Fix for persisted scopes not being properly restored on sign-in.
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
-
8513cd7d00e3: Introduced a new system for building auth providers for
@backstage/plugin-auth-backend
, which both increases the amount of code re-use across providers, and also works better with the new backend system.Many existing types have been moved from
@backstage/plugin-auth-backend
in order to avoid a direct dependency on the plugin from modules.Auth provider integrations are now primarily implemented through a pattern of creating "authenticators", which are in turn specific to each kind of integrations. Initially there are two types:
createOAuthAuthenticator
andcreateProxyAuthenticator
. These come paired with functions that let you create the corresponding route handlers,createOAuthRouteHandlers
andcreateProxyAuthRouteHandlers
, as well as provider factories,createOAuthProviderFactory
andcreateProxyAuthProviderFactory
. This new authenticator pattern allows the sign-in logic to be separated from the auth integration logic, allowing it to be completely re-used across all providers of the same kind.The new provider factories also implement a new declarative way to configure sign-in resolvers, rather than configuration through code. Sign-in resolvers can now be configured through the
resolvers
configuration key, where the first resolver that provides an identity will be used, for example:auth: providers: google: development: clientId: ... clientSecret: ... signIn: resolvers: - resolver: emailMatchingUserEntityAnnotation - resolver: emailLocalPartMatchingUserEntityName
These configurable resolvers are created with a new
createSignInResolverFactory
function, which creates a sign-in resolver factory, optionally with an options schema that will be used both when configuring the sign-in resolver through configuration and code.The internal helpers from
@backstage/plugin-auth-backend
that were used to implement auth providers using passport strategies have now also been made available as public API, throughPassportHelpers
andPassportOAuthAuthenticatorHelper
.
- 18619f793c94: The
BackstageIdentityResponse
interface now has an optionalexpiresInSeconds
field that can be used to signal session expiration. TheprepareBackstageIdentityResponse
utility will now also read the expiration from the provided token, and include it in the response. - Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
-
8513cd7d00e3: Introduced a new system for building auth providers for
@backstage/plugin-auth-backend
, which both increases the amount of code re-use across providers, and also works better with the new backend system.Many existing types have been moved from
@backstage/plugin-auth-backend
in order to avoid a direct dependency on the plugin from modules.Auth provider integrations are now primarily implemented through a pattern of creating "authenticators", which are in turn specific to each kind of integrations. Initially there are two types:
createOAuthAuthenticator
andcreateProxyAuthenticator
. These come paired with functions that let you create the corresponding route handlers,createOAuthRouteHandlers
andcreateProxyAuthRouteHandlers
, as well as provider factories,createOAuthProviderFactory
andcreateProxyAuthProviderFactory
. This new authenticator pattern allows the sign-in logic to be separated from the auth integration logic, allowing it to be completely re-used across all providers of the same kind.The new provider factories also implement a new declarative way to configure sign-in resolvers, rather than configuration through code. Sign-in resolvers can now be configured through the
resolvers
configuration key, where the first resolver that provides an identity will be used, for example:auth: providers: google: development: clientId: ... clientSecret: ... signIn: resolvers: - resolver: emailMatchingUserEntityAnnotation - resolver: emailLocalPartMatchingUserEntityName
These configurable resolvers are created with a new
createSignInResolverFactory
function, which creates a sign-in resolver factory, optionally with an options schema that will be used both when configuring the sign-in resolver through configuration and code.The internal helpers from
@backstage/plugin-auth-backend
that were used to implement auth providers using passport strategies have now also been made available as public API, throughPassportHelpers
andPassportOAuthAuthenticatorHelper
.
- 18619f793c94: The
BackstageIdentityResponse
interface now has an optionalexpiresInSeconds
field that can be used to signal session expiration. TheprepareBackstageIdentityResponse
utility will now also read the expiration from the provided token, and include it in the response. - Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- 12a8c94eda8d: Add package repository and homepage metadata
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- 12a8c94eda8d: Add package repository and homepage metadata
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- 65454876fb2: Minor API report tweaks
- 52b0022dab7: Updated dependency
msw
to^1.0.0
. - Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- 65454876fb2: Minor API report tweaks
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- 52b0022dab7: Updated dependency
msw
to^1.0.0
. - Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- 3280711113: Updated dependency
msw
to^0.49.0
. - Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- 3280711113: Updated dependency
msw
to^0.49.0
. - Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- 7573b65232: Internal refactor of imports to avoid circular dependencies
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- 7573b65232: Internal refactor of imports to avoid circular dependencies
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- f3a3fefb96: Ensure
getIdentity
throws anAuthenticationError
instead of aNotAllowed
error when authentication fails - Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- 9212439d15: Minor update to tests
- 2cbd533426:
IdentityClient
is now deprecated. Please migrate toIdentityApi
andDefaultIdentityClient
instead. The authenticate function onDefaultIdentityClient
is also deprecated. Please usegetIdentity
instead. - 667d917488: Updated dependency
msw
to^0.47.0
. - 87ec2ba4d6: Updated dependency
msw
to^0.46.0
. - bf5e9030eb: Updated dependency
msw
to^0.45.0
. - Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- 2cbd533426:
IdentityClient
is now deprecated. Please migrate toIdentityApi
andDefaultIdentityClient
instead. The authenticate function onDefaultIdentityClient
is also deprecated. Please usegetIdentity
instead. - 667d917488: Updated dependency
msw
to^0.47.0
. - 87ec2ba4d6: Updated dependency
msw
to^0.46.0
. - Updated dependencies
- @backstage/[email protected]
- 9212439d15: Minor update to tests
- Updated dependencies
- @backstage/[email protected]
- bf5e9030eb: Updated dependency
msw
to^0.45.0
. - Updated dependencies
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- a70869e775: Updated dependency
msw
to^0.43.0
. - 8006d0f9bf: Updated dependency
msw
to^0.44.0
. - Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- a70869e775: Updated dependency
msw
to^0.43.0
. - Updated dependencies
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- 5ca0b86b88: Address corner cases where the key store was not being created at startup
- 8f7b1835df: Updated dependency
msw
to^0.41.0
. - 9079a78078: Added configurable algorithms array for IdentityClient
- Updated dependencies
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- 8f7b1835df: Updated dependency
msw
to^0.41.0
. - Updated dependencies
- @backstage/[email protected]
- 9079a78078: Added configurable algorithms array for IdentityClient
- Updated dependencies
- @backstage/[email protected]
- 9ec4e0613e: Update to
jose
4.6.0 - Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- 9ec4e0613e: Update to
jose
4.6.0 - Updated dependencies
- @backstage/[email protected]
- 15d3a3c39a: BREAKING: Removed the deprecated
id
andentity
fields fromBackstageSignInResult
.
- Updated dependencies
- @backstage/[email protected]
- 15d3a3c39a: BREAKING: Removed the deprecated
id
andentity
fields fromBackstageSignInResult
.
- Updated dependencies
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- Fix for the previous release with missing type declarations.
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- 1ed305728b: Bump
node-fetch
to version 2.6.7 andcross-fetch
to version 3.1.5 - c77c5c7eb6: Added
backstage.role
topackage.json
- Updated dependencies
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- @backstage/[email protected]
- 9058bb1b5e: Added this package, to hold shared types and functionality that other backend packages need to import.
- Updated dependencies
- @backstage/[email protected]