שנה את כתובת ה-URL של כפתור 'צור את החשבון שלך' לאתר חיצוני

image
Modify the URL of ‘create your account’ button to an external site, such as https://meta.discourse.org/

לייק 1

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.

3 לייקים

Thank you for your advice,but I just want to modify the URL of the button to ’create your account‘

לייק 1

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.

2 לייקים

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

לייק 1

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.

3 לייקים

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

לייק 1

If you can understand my goal, please help me

לייק 1

No, the goal is still unclear. The link should be modifiable through a theme component but I doubt that it’ll work like that.

לייק 1

Is there any similar code that can modify the URL link of the ‘create your account’ button
image
image

לייק 1