ComponentSpace

Forums



Getting 'The message is not an HTTP POST' when using Azure AD as Identity Provider


Getting 'The message is not an HTTP POST' when using Azure AD as...

Author
Message
Mitesh Jadav
Mitesh Jadav
New Member
New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)

Group: Forum Members
Posts: 1, Visits: 5
Hi,

I have implemented Component Space ADFS SSO to my application, it works fine for locally created ADFS server and used as Identity Provider but getting error when using Azure AD as Identity provider. It redirects to Azure AD Login page and after successfully login, it returns to my application with this error message 'The Message is not an HTTP POST'.

Should i change any configuration to my Azure AD or it may be an issue of wrong configuration in my Application?

Please Help..

Thanks.
ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (4K reputation)ComponentSpace Development (4K reputation)ComponentSpace Development (4K reputation)ComponentSpace Development (4K reputation)ComponentSpace Development (4K reputation)ComponentSpace Development (4K reputation)ComponentSpace Development (4K reputation)ComponentSpace Development (4K reputation)ComponentSpace Development (4K reputation)

Group: Administrators
Posts: 2.9K, Visits: 9.6K

It sounds like there is some sort of configuration issue.
Please enable SAML trace and send the generated log file as an email attachment to [email protected] mentioning this topic.
http://www.componentspace.com/Forums/17/Enabing-SAML-Trace



Regards
ComponentSpace Development
christopher.kidd
christopher.kidd
New Member
New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)

Group: Awaiting Activation
Posts: 1, Visits: 2
ComponentSpace - 1/29/2015

It sounds like there is some sort of configuration issue.
Please enable SAML trace and send the generated log file as an email attachment to [email protected] mentioning this topic.
http://www.componentspace.com/Forums/17/Enabing-SAML-Trace


I found this post while searching for entries with the same problem/topic "The message is not an HTTP POST" when configuring SSO and Azure. I have enabled the SAML trace as suggested above and everything appears to be fine until right after I see the following entries in the log:
4/16/2020 11:22:38 AM: Receiving response over HTTP POST
4/16/2020 11:22:38 AM: HTTP request:
GET /SSO/SAML2/AssertionConsumerService.aspx HTTP/1.1
....
Exception: ComponentSpace.SAML2.Exceptions.SAMLBindingException: The message is not an HTTP POST. .....

Any suggestions as to what next step I should consider?

Thank you,

ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (4K reputation)ComponentSpace Development (4K reputation)ComponentSpace Development (4K reputation)ComponentSpace Development (4K reputation)ComponentSpace Development (4K reputation)ComponentSpace Development (4K reputation)ComponentSpace Development (4K reputation)ComponentSpace Development (4K reputation)ComponentSpace Development (4K reputation)

Group: Administrators
Posts: 2.9K, Visits: 9.6K
The SAML response is sent in an HTTP Post. If we receive an HTTP Get etc we throw this exception.

I suggest using the browser developer tools (F12) to capture the network traffic to see what's going on. After logging in at the IdP, you should see an HTTP Post being sent to your assertion consumer service URL. Hopefully looking at the network traffic will shed light on the issue.

If you're not sure what's happening, you're welcome to save the network traffic to a HAR file and send this to [email protected].



Regards
ComponentSpace Development
Navyaros
Navyaros
New Member
New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)

Group: Forum Members
Posts: 1, Visits: 4
Hi I am getting this error with Azure ad. I am getting http GET response. How did you manage to resolve this issue ?
ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (4K reputation)ComponentSpace Development (4K reputation)ComponentSpace Development (4K reputation)ComponentSpace Development (4K reputation)ComponentSpace Development (4K reputation)ComponentSpace Development (4K reputation)ComponentSpace Development (4K reputation)ComponentSpace Development (4K reputation)ComponentSpace Development (4K reputation)

Group: Administrators
Posts: 2.9K, Visits: 9.6K
Azure AD sends the SAML response in an HTTP Post as per the SAML specification.

I suggest using the browser developer tools (F12) to capture the network traffic to see what's going on. After logging in at the IdP, you should see an HTTP Post being sent to your assertion consumer service URL. Hopefully looking at the network traffic will shed light on the issue.

If you're not sure what's happening, you're welcome to save the network traffic to a HAR file and send this to [email protected].


Regards
ComponentSpace Development
GO


Similar Topics


Execution: 0.000. 2 queries. Compression Enabled.
Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....









Forums, Documentation & Knowledge Base - ComponentSpace


Search