Merge pull request #11454 from backstage/freben/no-id

saml session storage: do not require id
This commit is contained in:
Fredrik Adelöw
2022-05-11 12:00:58 +02:00
committed by GitHub
2 changed files with 5 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-app-api': patch
---
Fix SAML session schema to no longer require the (deprecated) id, to unbreak session data storage.
@@ -34,7 +34,6 @@ export const samlSessionSchema: z.ZodSchema<SamlSession> = z.object({
picture: z.string().optional(),
}),
backstageIdentity: z.object({
id: z.string(),
token: z.string(),
identity: z.object({
type: z.literal('user'),