From 38680c410f460cf457f233c6d73ef31b817d7d77 Mon Sep 17 00:00:00 2001 From: Kevin BEAUGRAND <9513635+kbeaugrand@users.noreply.github.com> Date: Thu, 26 May 2022 17:13:15 +0200 Subject: [PATCH] Fix #39311 in OIDC implementation --- .../src/Interop/AuthenticationService.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Components/WebAssembly/WebAssembly.Authentication/src/Interop/AuthenticationService.ts b/src/Components/WebAssembly/WebAssembly.Authentication/src/Interop/AuthenticationService.ts index 67b9bf6b6f97..c163f912f244 100644 --- a/src/Components/WebAssembly/WebAssembly.Authentication/src/Interop/AuthenticationService.ts +++ b/src/Components/WebAssembly/WebAssembly.Authentication/src/Interop/AuthenticationService.ts @@ -111,7 +111,9 @@ class OidcAuthorizeService implements AuthorizeService { const parameters = request && request.scopes ? { scope: request.scopes.join(' ') } : undefined; - const newUser = await this._userManager.signinSilent(parameters); + const newUser = await this._userManager.signinSilent(Object.assign({}, { + response_type: 'id_token token' + }, parameters)); return { status: AccessTokenResultStatus.Success,