saml session storage: do not require id
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user