UserManager.signinRedirectCallback response_mode set "fragment",Error “Expected code in response”
Dear,
When I use method "UserManager.SigninRedirectCallback" to use code get token, it's catch an Error, is "Expected code in response". The first img is Debug Params,
The Second img is SourceCode
when I use hash router in vue, method of 'URLSearchParams' unable to recognize the char of '#'.
see https://github.com/authts/oidc-client-ts/blob/main/docs/index.md#hash-mode-router-spa
Thank you for your solution. But IdentityServer4 Application return the callback url. We can not modify the callback url.
Thank you for your solution. But IdentityServer4 Application return the callback url. We can not modify the callback url.
I assume you are calling mgr.signinCallback(), thus you can modify the url parameter of it...