From 82128fbf1041a83cae0c222d517ae63f5361eeb3 Mon Sep 17 00:00:00 2001 From: Joseph Garrone Date: Sat, 6 Jan 2024 19:45:29 +0100 Subject: [PATCH] include iss to params to retreive after successfull login --- src/oidc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oidc.ts b/src/oidc.ts index 181befa..ea3ea25 100644 --- a/src/oidc.ts +++ b/src/oidc.ts @@ -43,7 +43,7 @@ export declare namespace Oidc { }; } -const paramsToRetrieveFromSuccessfulLogin = ["code", "state", "session_state"] as const; +const paramsToRetrieveFromSuccessfulLogin = ["code", "state", "session_state", "iss"] as const; /** @see: https://github.com/garronej/oidc-spa#option-1-usage-without-involving-the-ui-framework */ export async function createOidc(params: {