OCA/server-auth

500 Error: Unsupported binding: urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect (odoo)

reos-rcrozier opened this issue · 2 comments

Module

auth_saml

Describe the bug

I am attempting to set up auth_saml with Jumpcloud as the IdP. After performing the necessary steps, when attempting to login with jumpcloud I get the following error:

2022-06-23 13:59:58,306 1816135 INFO odoo-15 werkzeug: 127.0.0.1 - - [23/Jun/2022 13:59:58] "GET /web/webclient/qweb/1655992798281?bundle=web.assets_frontend HTTP/1.1" 200 - 10 0.002 0.012
2022-06-23 14:00:03,896 1816135 ERROR odoo-15 saml2.mdstore: Unsupported binding: urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect (odoo) 
2022-06-23 14:00:03,898 1816135 INFO odoo-15 werkzeug: 127.0.0.1 - - [23/Jun/2022 14:00:03] "GET /auth_saml/get_auth_request?pid=1 HTTP/1.1" 500 - 7 0.001 0.008

Incidentally, if "automatic redirection" is selected, this leaves you unable to access the odoo login page as a local user, I had to manually edit the database to switch this back to false to get back in.

In case it's relevent, in jumpcloud I have the following options for "SAMLSubject NameID Format"

image

I guess the issue is that auth_saml doesn't support HTTP-Redirect, can HTTP-Redirect be supported?

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.