azure-ad-b2c / samples

Azure AD B2C custom policy solutions and samples.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot create user journey just to show information without send claims?

tuantmse90055 opened this issue · comments

After user change password and revoke session (based on this guideline: https://learn.microsoft.com/en-us/azure/active-directory-b2c/oauth2-error-technical-profile), I want to show message success and inform user to sign in again using new password. I already created user journey to change password and added step revoke session. But after step revoke session is executed, the user journey is ended. So, I added new user journey just to show success message and call it from my replying party (Spring Boot) application. But when I upload that user journey on Identity Experience Framework, I got this error "User journey 'xxx' does not contain a send claims step.". Does user journey always require send claims along with JWT token? Does anyone have idea to archive my requirement?

You always need a sendClaims step.
But you can remove the Contnue button in the SelfAsserted profile to make sure the user can’t get to the SendClaims step. Make sure to have at least one claim presented on the selfAsserted page that’s “required”, otherwise the user can refresh the page and skip to SendClaims step.