TheHiveDocs
TheHiveDocs copied to clipboard
TheHive4 multiple oAuth2 configuration based on URL
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