Skip to content

Sign in with email (magic link) #14

@cblanquera

Description

@cblanquera

Describe the feature you'd like to request

Ability to sign in with email. This can be an alternative to "Forgot Password".

Describe the solution you'd like

I would like to configure this in my project config, if I want to enable signin with email or not. If enabled, when the user chooses to signup with email, they can opt-in to signin with email. when clicked, should send them an email with a link that auto-signs them in. using the consumed column in the auth table to create a hash in order for it to be invalidated once consumed. Consider the following link.

localhost/auth/signin/[authId]/[salted hash]

where the [salted hash] is just an md5 (or other salt method) of the consumed datetime column in the auth table. If someone were to try to hack through this, they would need to know this date by the second, as well as their authId

Describe alternatives you've considered

storing the salt as an extra column in the database maybe more secure, but can be cumbersome to manage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions