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
auth.get_last_response_xml() has user data and auth.logout() is logging-out , but auth.process_response() is None and auth.is_authenticated() is False
#407
Open
gabrielakuhn opened this issue
Apr 24, 2024
· 0 comments
I am building an app which is similar to Flask structure (I am not using any framework, but I am using werkzeug) so I am following the Flask sample here
I have my saml_settings working properly (I guess) because I can redirect for my IDP and my IDP is redirecting to my assertionConsumerService endpoint.
But when handle the POST in my assertionConsumerService endpoint, I cannot retrieve the SAML AttributeStatement (the data idp is sending back to me)
In auth = OneLogin_Saml2_Auth(http_fields, self.saml_settings)
my auth.process_response() is None and my auth.is_authenticated() is False
However in my SAML Tracer tool I can see the attributes there in the POST.
and If I do auth.get_last_response_xml() I also got the xml response with all the attributes (name, surname, email of the user).
So If I am getting back data somehow from the IDP why the authentication is False and the process_response() is None?
My auth.logout() is also working fine (logging out the user)
The text was updated successfully, but these errors were encountered:
Hello,
I am building an app which is similar to Flask structure (I am not using any framework, but I am using werkzeug) so I am following the Flask sample here
I have my saml_settings working properly (I guess) because I can redirect for my IDP and my IDP is redirecting to my assertionConsumerService endpoint.
But when handle the POST in my assertionConsumerService endpoint, I cannot retrieve the SAML AttributeStatement (the data idp is sending back to me)
In
auth = OneLogin_Saml2_Auth(http_fields, self.saml_settings)
my
auth.process_response()
isNone
and myauth.is_authenticated()
isFalse
However in my SAML Tracer tool I can see the attributes there in the POST.
and If I do
auth.get_last_response_xml()
I also got the xml response with all the attributes (name, surname, email of the user).So If I am getting back data somehow from the IDP why the authentication is False and the process_response() is None?
My
auth.logout()
is also working fine (logging out the user)The text was updated successfully, but these errors were encountered: