You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using the SSO feature to configure sign in via Microsoft Azure as the Identity Provider I was getting a 400 error back from Microsoft where the user details are checked at the userinfo endpoint with the returned token. Looking at the failed request it had a header of the form "Authorization bearer " - when trying this request with cURL as "Authorization Bearer " (i.e upper case B) it succeeds.
Request Type
Bug
Work Environment
Problem Description
While using the SSO feature to configure sign in via Microsoft Azure as the Identity Provider I was getting a 400 error back from Microsoft where the user details are checked at the userinfo endpoint with the returned token. Looking at the failed request it had a header of the form "Authorization bearer " - when trying this request with cURL as "Authorization Bearer " (i.e upper case B) it succeeds.
Possible Solutions
I think the faulty line of code may be:
https://github.com/TheHive-Project/TheHive/blob/master/thehive-backend/app/services/OAuth2Srv.scala#L101
The text was updated successfully, but these errors were encountered: