Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
583 views
in Technique[技术] by (71.8m points)

wso2 - How i can handle Pending_Ap status change,Email confirmation on email change?

Are there functionality to handle PENDING_AP status change to UNLOCKED,and email confirmation when changing to new one?

  1. I register user and WSO sends email to set password, then changes status to UNLOCKED after setting password
  2. When i change my email in WSO2,it sends confirmation post to my email. How i can handle click to CONFIRM button
question from:https://stackoverflow.com/questions/66060611/how-i-can-handle-pending-ap-status-change-email-confirmation-on-email-change

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Seems you are referring to the account pending status feature in WSO2 IS. It supports in three user onboarding scenarios as mentioned in the doc:

  1. Self-registration
  2. On-boarding users with Ask password
  3. On-boarding user with Email Verification

In these scenarios initially onboarded user is locked and, upon some verification, the account will be unlocked. That account status changes are tracked in account state claim. That should be the functionality you have mentioned in point one.

In point two, you may be referring to Enable Email Account Verification for an Updated Email Address feature. In this scenario, we do not lock the user account. It just waiting to change the user's email until he/she approves the newly changed email. The new email is kept in Verification Pending Email claim until the user confirms it.

Since user account locking is not required for email changing, PENDING_AP status change to UNLOCKED doesn't have any sense in this user scenario.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...