fangli / django-saml2-auth

Django SAML2 Authentication Made Easy. Easily integrate with SAML2 SSO identity providers like Okta
Other
504 stars 223 forks source link

KeyError at /saml2_auth/acs/ #168

Open sainyamcc opened 3 years ago

sainyamcc commented 3 years ago

image Getting KeyError in SAML response, I can see that decoded response says success and I am assuming that this is related to claim mapping but I have commented "ATTRIBUTES_MAP" in setting as it said optional setting. Any help is appreciated.

romcab commented 3 years ago

Hi,

I suggest to use saml-tracer browser plugin to check the data returned by your server. It looks like the "Email" is missing or using a different key.

Hope this helps.

Thanks!

sainyamcc commented 3 years ago

Hi, Thanks fir your reply, I can see the Email claim in SAML response.

Thanks, Sainyam

On 1 Sep 2021, at 04:30, romcab @.***> wrote:

 Hi,

I suggest to use saml-tracer browser plugin to check the data returned by your server. It looks like the "Email" is missing or using a different key.

Hope this helps.

Thanks!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.