pamapa

Results 412 comments of pamapa

Which version are you using `auth_time` has been some time ago. See https://github.com/authts/oidc-client-ts/releases/tag/v2.2.4

works here in my application and in the unit-test https://github.com/authts/oidc-client-ts/blob/faf3a8e5614c664004e90813d601b6ec8a3c335e/src/SigninRequest.test.ts#L218

make sure `AuthProvider` comes before `RouterProvider`

> Logger.ts:89 [OidcClient] readSigninResponseState: Error: No matching state found in storage That is the redirect callback call and it can somehow not match the data with the previously stored sigin...

Yes its possible see https://github.com/authts/react-oidc-context#call-a-protected-api: As not a child of AuthProvider...

> So, if I understand correctly, the only possibility is to store **accessToken** in **localStorage** by using [here](https://github.com/authts/react-oidc-context?tab=readme-ov-file#automatic-sign-in): > > ``` > userStore: new WebStorageStateStore({ store: window.localStorage }) > ```...

Make use of the `useAuth` hook function, like described here https://github.com/authts/react-oidc-context#getting-started