Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 28, 2023

Bumps @backstage/plugin-auth-node from 0.2.16 to 0.2.19.

Changelog

Sourced from @​backstage/plugin-auth-node's changelog.

@​backstage/plugin-auth-node

0.3.0-next.0

Minor Changes

  • 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 and createProxyAuthenticator. These come paired with functions that let you create the corresponding route handlers, createOAuthRouteHandlers and createProxyAuthRouteHandlers, as well as provider factories, createOAuthProviderFactory and createProxyAuthProviderFactory. 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, through PassportHelpers and PassportOAuthAuthenticatorHelper.

Patch Changes

  • 18619f793c94: The BackstageIdentityResponse interface now has an optional expiresInSeconds field that can be used to signal session expiration. The prepareBackstageIdentityResponse utility will now also read the expiration from the provided token, and include it in the response.
  • Updated dependencies
    • @​backstage/backend-common@​0.19.4-next.0
    • @​backstage/backend-plugin-api@​0.6.2-next.0
    • @​backstage/catalog-client@​1.4.3
    • @​backstage/catalog-model@​1.4.1
    • @​backstage/config@​1.0.8
    • @​backstage/errors@​1.2.1
    • @​backstage/types@​1.1.0

0.2.17

Patch Changes

  • 12a8c94eda8d: Add package repository and homepage metadata
  • Updated dependencies
    • @​backstage/backend-common@​0.19.2

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@backstage/plugin-auth-node](https://github.com/backstage/backstage/tree/HEAD/plugins/auth-node) from 0.2.16 to 0.2.19.
- [Release notes](https://github.com/backstage/backstage/releases)
- [Changelog](https://github.com/backstage/backstage/blob/master/plugins/auth-node/CHANGELOG.md)
- [Commits](https://github.com/backstage/backstage/commits/HEAD/plugins/auth-node)

---
updated-dependencies:
- dependency-name: "@backstage/plugin-auth-node"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 28, 2023
@garryod garryod merged commit 228d910 into main Aug 29, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/backstage/backstage/plugin-auth-node-0.2.19 branch August 29, 2023 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants