Merge pull request #9043 from backstage/rugvip/full-refal-panic

auth-backend: make sure userEntityRef is always a full entity ref
This commit is contained in:
Patrik Oldsberg
2022-01-20 11:00:18 +01:00
committed by GitHub
6 changed files with 128 additions and 4 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-auth-backend': minor
---
Switched the handling of the `BackstageIdentityResponse` so that the returned `identity.userEntityRef` is always a full entity reference. If `userEntityRef` was previously set to `jane`, it will now be `user:default/jane`. The `userEntityRef` in the response is parsed from the `sub` claim in the payload of the Backstage token.