pamapa
pamapa
OAuth and OIDC are standard independent of your OS. The browser however must have support for some features. I see no reason why Apples webkit should not be functional. CORS...
`scope` is supported as an optional `string` parameter. See https://github.com/authts/oidc-client-ts/blob/89733f5db534f77acac47693a57758067dea2413/src/OidcClientSettings.ts#-L47-L48. After the spec https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest, multiple can be done like "s1 s2", aka spaces in between.
Ah, now i understand what you are about. > 1. Throw an exception if a non-string is passed Currently the type is `string | undefined`, hence when using typescript you...
Your response mode is not query but fragment: `response_mode: 'query' -> 'fragment'`
You may need to enable logging, you can do like here described https://authts.github.io/oidc-client-ts/#logging. This and debugging + looking into session and local storage should help you find your issue...
> Does this mean that the state is being removed from local storage? Yes, old stale states are removed... The state works like: - client auth request -> authz server...
> 是不是使用HashRouter,redirect_uri中包含字符"#“,导致不能从url中正确的读取state参数的值 Means: "Is using HashRouter, the redirect_uri contains the character "#", so the value of the state parameter cannot be read correctly from the url" Thanks for pointing the...
To track your issue: debug/log where the state is stored: https://github.com/authts/oidc-client-ts/blob/ae221679d1f823abb4443146cdde90315bdde03e/src/OidcClient.ts#L134-L135 Here it is read back from the store: https://github.com/authts/oidc-client-ts/blob/ae221679d1f823abb4443146cdde90315bdde03e/src/OidcClient.ts#L271-L277 Maybe it is useful to add `response.state` in to the...
Please have a look at this issue https://github.com/authts/oidc-client-ts/issues/734#issuecomment-1298381823. Read through the thread. Summary: > Simply process the URL before passing it along to signinCallback
This is a known problem. I have the feeling using web worker will make everything even more complex...