Skip to main content

#Self Registration0 人正在讨论

Hi, I am trying to implement custom registration page with email verification for our experience site, but when I am trying to initiate verification I am getting 'System.NoAccessException : Unable to generate security token'. Can you help me here  to find out what permission I am missing here? #*ExperienceCloudShowMeHow #Self Registration #Salesforce Identity

2 个回答
  1. 2025年12月11日 15:47

    For anyone that might come across this issue in the future, I discovered that this error was presented if the email address of the user being registered was sent 5 or more verifications within the last hour. Though, there may be other reasons for the System.NoAccessException in the context of the UserManagement.initSelfRegistration

    method.  

     

    In my case, I was developing and testing a custom login flow, and I sent many verification requests to the same email address within a short period using the

    UserManagement.initSelfRegistration

    method. Waiting for over an hour resolved the issue, and I was able to resume testing with the email address. Also, using a different email address worked.  

     

    Salesforce specifies here,

    System Verification Codes Not Received for Salesforce, that "Salesforce has a limit of 5 email verification codes per hour"

0/9000

Hi, 

 

I need some help with Community login process. Our organization has two communities which allows self registration. We have different permission set for each community to provide community access.  Let's consider the scenario when a user has self registered for Community A and now wants to access Community B.

 

1. Should we ask user to go through registration process again for Community B or there is any other recommendation.

2. If user tries to self register for community B using same emailid (which we used to create username for Community A), the self registration process fails as username is already being used.

 

I wonder how other customers have dealt with this kind of scenario where we need to provide self registration for multiple communities without creating duplicates.

 

Thanks,

Rama

0/9000

We are implementing community and enabled self registration , issue is that OOTB lightning components aren't  enabled , we have to manually expose those components , after enabling lightning components , we see the custom self register component popping up , but when trying to self-register , after submitting the details we are getting an error 'Hmm. Something isn't right. Please try again.'.

 

Can someone please let me know if someone has come across this issue?

1 条评论
  1. 2019年2月19日 17:25
    Hi @Harsha Gadag it might be worth creating a support case with a request for them to ensure that proper Identity and Communities perms have been enabled in that Org.
0/9000