cancel
Showing results for 
Search instead for 
Did you mean: 

Last Login not getting updated in SSO

kajolmaan
Explorer
0 Kudos
391

Hi Experts,

We have a set up a SSO using OIDC flow where CDC is OpenID Provider Relying Party. SSO is working as expected. However, the last login is not getting in SAP CDC.

Could you please let me know what could be missing? Also, is there a way to update last login using API calls?

Thanks and regards,

Kajol

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Kajol,

It is not possible to manually change the "lastLogin" value on the account, in order for this timestamp to update it's not just the OIDC login flow that needs to succeed, the CDC login flow also needs to complete - i.e. profile completion, TFA, etc. needs to all be completed.

What I can recommend is that you can take a network capture of the flow and see if it concludes with error code 0 from CDC and issue a session token - that would indicate a successful login to CDC.

Please go ahead and submit an incident through the SAP Support Launchpad to the "Customer Data Cloud" product or "CEC-PRO" component if you require further assistance with investigating this further.

Thank you.

Best regards,
Joshua

kajolmaan
Explorer
0 Kudos

Hi Joshua,

Thank you so much for the answer.

Would you mind letting me know how would CDC issue a session token in this SSO flow (since CDC is RP here)?

I believe OP will issue access token, id token and refresh token.

Kind regards,

Kajol

Hi Kajol,

Correct - I was assuming you are testing using our Web SDK / Screen-Sets. So after the user completes the authentication + authorization with the OP and come back to the site with CDC if the login was successful then CDC's Web SDK would also issue a session token for other Web SDK operations.

kajolmaan
Explorer
0 Kudos

Hi Joshua,

I totally agree. Does it mean I need to write a code in Web sdk to issue a session token? If so, would you mind helping me with the code. I didn't find any such code in CDC developers guide.

Thank you so much.

Kind regards,

Kajol

Answers (0)