Zhuohui-Li
Zhuohui-Li
Hi @guillaume-chervet I have the same issue The config is (without serviceWorker) ``` client_id: redirect_uri: scope: authority: refresh_time_before_tokens_expiration_in_second: 10, service_worker_only: false, storage: localStorage, authority_configuration: { }, ```
The example code ```javascript export const PingIDContext = React.createContext(); export const PingIdProvider = ({ children, envData }) => { const { login, logout, isAuthenticated } = useOidc("configName"); const { oidcUser,...
Hi @guillaume-chervet This issue happens if I try to read id_token like `const { idTokenPayload } = useOidcIdToken(configName);` If I remove this line, I can get the right access token
Hi @guillaume-chervet Thanks a lot. I didn't get you but we are using PingId as our auth provider
Hi @guillaume-chervet The token comes from `token.oauth2` The response from auth provider is ``` { access_token: "" expires_in: 899 refresh_token: "" token_type: "Bearer" } ``` Is it because that the...
Hi @guillaume-chervet The only difference I can find is I wrapper the hook in the react context. Also, could you check whether the access token from `const { accessToken }...
Hi @guillaume-chervet `[email protected]` if it helps
Our team is facing this issue. Any update?
Hi @guillaume-chervet The config is ``` client_id: redirect_uri: scope: authority: refresh_time_before_tokens_expiration_in_second: 10, service_worker_only: false, storage: localStorage, authority_configuration: { }, ```
@guillaume-chervet Some error info: ``` oidc:config_name:refreshTokensAsync_silent_error: { "message": "bad request", "tokenResponse": { "success": false, "status": 400 } } ``` ``` oidc:config_name:refreshTokensAsync_error: { "message": "refresh token" } ``` It happens in...