Kevin Bellinger
Kevin Bellinger

Reputation: 15

Authenticating a user to a Rails app through an URL emailed to them

I am trying to build an application which will have a simple workflow where a user is emailed a specific URL which links to their account and provides them with a voucher for redemption.

Does anyone know of a good rails gem or other solution which would help me generate a user specific URL which is valid for a one time login to the application.

I've done a bunch of poking around on rubygems, github and stackoverflow and don't see anything obvious.

Hopefully this isn't an obvious question :)

Cheers Kevin.

Upvotes: 0

Views: 45

Answers (1)

jan.zikan
jan.zikan

Reputation: 1316

Most popular gem for user authentication is Devise. https://www.ruby-toolbox.com/categories/rails_authentication

On the other hand Devise is very complex and it can be a little bit difficult to get the hang of it.

Upvotes: 1

Related Questions