This repo shows one way to integrate Stytch magic link logins into a Rails app.
Visit https://stytch.com/dashboard/redirect-urls to add
http://localhost:3000/authenticate as a valid sign-up and login URL.
- Install Ruby 2.7.3.
- Clone this repo.
- Run
bin/setupto install everything else and set up your Stytch API keys. - Run
bin/rails serverto start the app. - Navigate to
http://localhost:3000to access the app.
The example application is available as open source under the terms of the MIT License.
Everyone interacting in the Stytch project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.