diff --git a/.changeset/shy-rings-mix.md b/.changeset/shy-rings-mix.md new file mode 100644 index 0000000000..de322fdf85 --- /dev/null +++ b/.changeset/shy-rings-mix.md @@ -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. diff --git a/packages/core-app-api/src/apis/implementations/auth/saml/types.ts b/packages/core-app-api/src/apis/implementations/auth/saml/types.ts index 55b278b429..e5e32e3457 100644 --- a/packages/core-app-api/src/apis/implementations/auth/saml/types.ts +++ b/packages/core-app-api/src/apis/implementations/auth/saml/types.ts @@ -34,7 +34,6 @@ export const samlSessionSchema: z.ZodSchema = z.object({ picture: z.string().optional(), }), backstageIdentity: z.object({ - id: z.string(), token: z.string(), identity: z.object({ type: z.literal('user'),