Skip to content

🚀 Feature: Automatically verify email as part of magic url session confirmation flow #3130

@ikumen

Description

@ikumen

🔖 Feature description

Have the account update magic url session flow also verify the email of user the session is being created for.

🎤 Pitch

Currently the create magic url session flow will, for a given email address and redirect url:

  • create a user if none exists for the address
  • send an email to the address with the redirect url and the userId of the user and a temporary secret parameters attached to the redirect url
  • clients are to handle the redirect url, taking the userId and secret and calling update magic url session to confirm the userId and secret for a Session object

The process of the client confirming the userId and secret does not automatically verify the email of the associated user and an additional step is explicitly required to verify the user, even though the user is implicitly verified and given a Session.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingproduct / authFixes and upgrades for the Appwrite Auth / Users / Teams services.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions