Open louisgls opened 2 years ago
Hi @louisgls , dont really know about that, need to investigate. Can you explains a bit more your case and what you expect of setting multiple callback uri?
Hi @richard-julien, thank your for your answer. I was just wondering why the redirect uri was a multi valued field. I have 2 fqdn that points to the same opencti instance and I would have liked to set up the OpenID flow for both. For example :
did not find expected authorization request details in session, req.session["oidc:IDP URL"] is undefined
It totally make sense for me that it only works in the first case, but I was curious about the fact that redirect_uris could have multiple values, perhaps it would know which redirect uri to set as parameters during the first openid call to the authorization endpoint and therefore SSO will work with multiple fqdn.
Prerequisites
Description
Can OPENID strategy supports multiple redirect_uris ? The doc seems to show that it is the case as the PROVIDERSOPENIDCONFIG__REDIRECT_URIS is an array :
We have tried to add multiple redirect uris (because we have 2 different fqdn to access the front) but the first OIDC authorization request doesn't have any "redirect_uri" in the query string parameters.
Environment
Reproducible Steps
Steps to create the smallest reproducible scenario: