AI-generated summary
The discussion revolves around modifying the URL of the ‘Create your account’ button to an external site. guoxing wants to guide users to an external account creation site. itsbhanusharma suggests integrating the site with Single Sign-On (SSO) to achieve this, but guoxing only wants to modify the button’s URL.
osioke agrees with itsbhanusharma and asks for more context. guoxing explains that they want users to create accounts on the external site, and have already completed the modification in other places.
itsbhanusharma raises concerns about user authentication, but guoxing mentions that they have completed data migration and are using the same authentication method as Discourse.
Despite guoxing’s request for help, itsbhanusharma remains unclear about the goal. guoxing asks if there is similar code to modify the button’s URL, but a solution has not been provided.
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.


