Files
backstage/.changeset/cold-boats-sell.md
T
aramissennyeydd 46138c2bd7 update to auth.provider.guest.* login
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2024-02-26 15:21:35 -05:00

689 B

@backstage/plugin-auth-backend-module-guest-provider
@backstage/plugin-auth-backend-module-guest-provider
minor

Adds a new guest provider that maps guest users to actual tokens. This also shifts the default guest login to user:development/guest to reduce overlap with your production/real data. To change that (or set it back to the old default, use the new auth.providers.guest.userEntityRef config key) like so,

auth:
  providers:
    guest:
      userEntityRef: user:default/guest

This also adds a new property to control the ownership entity refs,

auth:
  providers:
    guest:
      ownershipEntityRefs:
        - guests
        - development/custom