TheHiveDocs icon indicating copy to clipboard operation
TheHiveDocs copied to clipboard

TheHive4 multiple oAuth2 configuration based on URL

Open Idriel opened this issue 4 years ago • 0 comments

Hi,

Is it somehow possible to Reply outh2 conf based on URL.

Example: Internal we access to TheHive over let's say https://thehive.internal.network and we would like internal Reply URL like https://thehive.internal.network/api/ssoLogin

External access over Reverse Proxy that is Rewriting Headers -> example: https://thehive.public.name and reply URL should be something like: https://thehive.public.name/api/ssoLogin

both are using same oauth2 provider.

What happens now is that outh2 provider says: reply URL specified in the request does not match the reply URLs

Idriel avatar May 19 '21 10:05 Idriel