Populating email field on login page

Hello,

How can I send a login link to my users and make sure the email field is already populated ?

Something like www.my-discourse-site.com/login?email=person@gmail.com
So that this user gets his email (person@gmail.com) already filled in the login page when they click

Thanks

Currently, Discourse does not have any built-in features to auto-populate the email field on the login page using a URL parameter (like ?email=person@gmail.com ).

If you’re looking for a user login flow where users don’t repeatedly have to input their credentials, options like Single Sign-On (SSO) or DiscourseConnect can be configured for fully automated login processes.

For reference, you can see our official Discourse SSO and DiscourseConnect documentation here: Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso).

There is also a Discourse OAuth2 Basic that allows you to use a basic OAuth2 provider as authentication for Discourse.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.