-
Notifications
You must be signed in to change notification settings - Fork 640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Can't auth with SSO/OAuth with FusionAuth #1342
Comments
Hello @shortstack I've checked that fusionauth works fine with TheHive 4. I still need to check that with TheHive 3 (it's not the exact same configuration since oauth2 implementation has been rewritten in TheHive 4) I'll let you know |
@nadouani working on this now, but it seems that the user has to already exist in the hive? vs fusionauth adding the user upon successful auth? could you possibly send your working auth configuration for hive 4? thank you! |
current configuration with fusionauth is throwing 401 unauthorized:
|
Looks to be working up until where TH is presenting the identity token to the OIC endpoints. Think I had that problem once. |
@jimbobnet i tried that :( same 401, thank you though! |
any thoughts, @nadouani? or could i see your config to compare? and does the user have to exist prior to authing, or can it create that user upon successful auth with fusionauth? thank you! |
bump :( stuck getting this to auth with fusionauth receiving a 401 |
tracking here as well: FusionAuth/fusionauth-issues#708 stuck at the moment |
This is marked as a bug, is that confirmed or is there anything we can do to help on the FusionAuth end of things? |
@robotdan i'm really not sure where the problem lies, to be honest. i am not a developer for either of these products @nadouani says he had TheHive 4 working properly with FusionAuth, but this was with them both running on the same system / locally we absolutely need SSO to work between these platforms in order to continue :( |
I don't know that I was able to recreate your exact results, but with the following configuration I see this in the JavaScript console when I click on "Sign in with SSO". Hive 3.4.0-1
And this is in the Hive logs
I can also confirm that the Token and Userinfo endpoints configured via the |
glad i'm not alone! unfortunately, we're aiming for thehive4 (not v3, we've mostly abandoned that in the interest of getting SSO working) for all of this :( FusionAuth/fusionauth-issues#708 which is likely why you had different results |
Thank you! I just re-read your initial v3 issue and my results match up to yours. FusionAuth/fusionauth-issues#620 My mistake. I'll see if I can put together a v4 instance and attempt your recreate. |
Can't auth with SSO/OAuth with FusionAuth
Request Type
Bug
Work Environment
Problem Description
Authing with OIDC via FusionAuth sends me to the following, provides the code, says authenticated
https://hive_url/index.html?code=$thecode&locale=en_US&userState=Authenticated#!/login
But i'm always sent back to the Hive login screen, where I auth with my identity provider credentials (click the login with SSO button), and I get:
If I enable autologin in the config, I get sent into an infinite loop of authing and sending me to the login page.
I've tried redirect URIs for index.html, with and without the #!/login.
Config:
Steps to Reproduce
userState=Authenticated
in URLUser session not found
in Hive logs and unable to log inComplementary information
FusionAuth/fusionauth-issues#620
#946
The text was updated successfully, but these errors were encountered: