Devise authentication email

Is there a way to include the username & password (maybe encrypted) with the authentication email so that they do not need to sign in for authentication.
(or any other way to allow them to authenticate with just the email verfication)

Thanks,
Joe

If you want the user the be signed in right after confirmation, you can just override default devise’s “confirmations#show” in your devise controller, which is the method handling the request from the email link the user receives, if I am not mistaken devise has smth like sign_in(@resource), which you would put in case the resource has no errors after it’s confirmed.

If you want the user to login with only an email and no password, you might look into the Passwordless gem: GitHub - mikker/passwordless: 🗝 Authentication for your Rails app without the icky-ness of passwords