django-saml2-auth icon indicating copy to clipboard operation
django-saml2-auth copied to clipboard

KeyError at /saml2_auth/acs/

Open sainyamcc opened this issue 4 years ago • 2 comments
trafficstars

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.

sainyamcc avatar Aug 30 '21 13:08 sainyamcc

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!

romcab avatar Sep 01 '21 02:09 romcab

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.

sainyamcc avatar Sep 01 '21 08:09 sainyamcc