SSO with OIDC issue with claims

mathieu_brule
Mega Sage

Hi !

 

I'm actually trying to set up connecting users through an OIDC Identity provider.

Here's where I am : 

- I've configured the identity provider record through a well known configuration url

- I've configured the OIDC Provider configuration like below : 

OIDC provider configuration.png

 

When I try to connect with a test account, I fall down on the famous logout successful page.

 

I've debugged calls with the idp (thanks https://www.servicenow.com/community/community-resources/debugging-oidc-single-sign-on-feature-in-se...), and I see in logs my access token, and my id token.

I've decrypted the JWT through https://www.jwt.io/, and I got claims, (notably the sub claim), but no email claim. 

 

That's why I tried to focus on sub claim, to connect my user to Snow, but it doesn't work...

 

Where am I wrong ?

 

Thanks by advance for your help !

1 ACCEPTED SOLUTION

Ok it works now !

 

After verifications, my user claim was still valued on email, instead of sub.

 

Thanks for help !

View solution in original post

6 REPLIES 6

Ok it works now !

 

After verifications, my user claim was still valued on email, instead of sub.

 

Thanks for help !