pamapa

Results 411 comments of pamapa

I added a separate issue for passing an UserManager into: #490

The root case could be multiple open tabs. The problem is in the underlying library oidc-client-ts. See https://github.com/authts/oidc-client-ts/issues/430

Untested idea: You could add per identity server one auth provider, nested. Then by using https://github.com/authts/react-oidc-context/blob/fd24a701a16c93d051bf25a82ac1a85dffb4f7a0/src/AuthProvider.tsx#L35-L46 you must makes sure that the correct auth provider interacts when needed....

Thanks for sharing the solution!

We are planing to allow to inject an `UserManager` instance, that would help you too. See [this comment](https://github.com/authts/react-oidc-context/issues/313#issuecomment-1087804261).

The `xCallback` functions are handled within this library and are one of the main purpose of this library. There is no need to call them differently. The `querySessionStatus` function is...

I added a separate issue for passing an UserManager into: #490

Good point, was not aware of that `react-router-dom@6` feature. The route you show above is probably too limiting for everybody. Maybe it enough to extend the sentence: > You still...

This library creates the `UserManager` inside. At the end there is not much code in this library you, best is you read it directly. A keep part of this library...

I do not know in which application context you use your hook function `useCreateAxiosInstance`, maybe its result is cached inside the function `someComponent` and does not recalculate what you think...