Modify the URL of ‘create your account’ button to an external site, such as https://meta.discourse.org/
You’ll need to integrate your site with SSO. See:
Once you have SSO working correctly, disable all other methods of registration and login (e.g. local logins) that way, your sign up and login buttons will automatically take you to the sso server for authentication.
Thank you for your advice，but I just want to modify the URL of the button to ’create your account‘
What Bhanu said is correct. If you want to change the link that loads when one clicks the Create your account button, the simplest way is using an external auth system.
If I may ask, why do you want to edit the URL? Maybe if you shared what you are looking to do, it would make it easier to give you a solution.
The scene is like this，I hope the user can create an account on the external site. Now the modification has been completed in other places. Next, I want to modify the URL of ‘create your account’ button to an external site, Guide users to external account creation site to complete account creation
But how will the user authenticate with discourse when the account doesn’t exist in discourse database and there is no way for discourse to recognize the user.
I have finished data migration , and the user authentication method is the same as that of discourse，
Now, I just want to modify the URL of ‘create your account’ button to an external site
If you can understand my goal, please help me
No, the goal is still unclear. The link should be modifiable through a theme component but I doubt that it’ll work like that.
Is there any similar code that can modify the URL link of the ‘create your account’ button