react-oidc-context icon indicating copy to clipboard operation
react-oidc-context copied to clipboard

Avoid conflicts with other OIDC flows

Open Chiyo-no-sake opened this issue 1 year ago • 1 comments

When developing a front-end application that requires two or more IDPs (one being done even with another library), the library seems to conflict because it tries to manage code and state parameters that should be handled by another flow.

From what I've seen, this library handles OIDC's parameters also when they are sent to another route in the context provider, correct?

Is there a way to specify a specific callback url so that it only handles the flow when parameters are sent there? If not, is there a workaround for this or a way to implement it?

Chiyo-no-sake avatar May 17 '24 10:05 Chiyo-no-sake

Check https://github.com/authts/react-oidc-context/blob/8f5d9b47c12831d257eda29c14cab7f1d0134e31/src/AuthProvider.tsx#L55

pamapa avatar May 17 '24 14:05 pamapa