├── .browserslistrc ├── .gitattributes ├── .gitignore ├── .ruby-version ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── Gemfile ├── Gemfile.lock ├── LICENSE ├── README.md ├── Rakefile ├── app ├── assets │ ├── config │ │ └── manifest.js │ ├── images │ │ └── .keep │ └── stylesheets │ │ └── application.css ├── channels │ └── application_cable │ │ ├── channel.rb │ │ └── connection.rb ├── controllers │ ├── application_controller.rb │ ├── concerns │ │ └── .keep │ ├── stytch_controller.rb │ ├── users_controller.rb │ └── welcome_controller.rb ├── helpers │ └── application_helper.rb ├── javascript │ ├── channels │ │ ├── consumer.js │ │ └── index.js │ └── packs │ │ └── application.js ├── jobs │ └── application_job.rb ├── mailers │ └── application_mailer.rb ├── models │ ├── application_record.rb │ ├── concerns │ │ └── .keep │ └── user.rb └── views │ ├── layouts │ ├── application.html.erb │ ├── mailer.html.erb │ └── mailer.text.erb │ ├── stytch │ ├── authentication_error.html.erb │ ├── check_your_email.html.erb │ └── login.html.erb │ ├── users │ └── edit.html.erb │ └── welcome │ └── index.html.erb ├── babel.config.js ├── bin ├── bundle ├── rails ├── rake ├── setup ├── spring ├── webpack ├── webpack-dev-server └── yarn ├── config.ru ├── config ├── application.rb ├── boot.rb ├── cable.yml ├── credentials.yml.enc ├── database.yml ├── environment.rb ├── environments │ ├── development.rb │ ├── production.rb │ └── test.rb ├── initializers │ ├── application_controller_renderer.rb │ ├── assets.rb │ ├── backtrace_silencers.rb │ ├── content_security_policy.rb │ ├── cookies_serializer.rb │ ├── filter_parameter_logging.rb │ ├── inflections.rb │ ├── mime_types.rb │ ├── mini_profiler.rb │ ├── permissions_policy.rb │ └── wrap_parameters.rb ├── locales │ └── en.yml ├── puma.rb ├── routes.rb ├── spring.rb ├── storage.yml ├── webpack │ ├── development.js │ ├── environment.js │ ├── production.js │ └── test.js └── webpacker.yml ├── db ├── migrate │ └── 20210423014055_create_users.rb ├── schema.rb └── seeds.rb ├── lib ├── assets │ └── .keep └── tasks │ └── .keep ├── log └── .keep ├── package.json ├── postcss.config.js ├── public ├── 404.html ├── 422.html ├── 500.html ├── apple-touch-icon-precomposed.png ├── apple-touch-icon.png ├── favicon.ico └── robots.txt ├── storage └── .keep ├── test ├── application_system_test_case.rb ├── channels │ └── application_cable │ │ └── connection_test.rb ├── controllers │ └── .keep ├── fixtures │ └── files │ │ └── .keep ├── helpers │ └── .keep ├── integration │ └── .keep ├── mailers │ └── .keep ├── models │ └── .keep ├── system │ └── .keep └── test_helper.rb ├── tmp ├── .keep └── pids │ └── .keep ├── vendor └── .keep └── yarn.lock /.browserslistrc: -------------------------------------------------------------------------------- 1 | defaults 2 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/.gitignore -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | 2.7.3 2 | -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/CODEOWNERS -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/Rakefile -------------------------------------------------------------------------------- /app/assets/config/manifest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/app/assets/config/manifest.js -------------------------------------------------------------------------------- /app/assets/images/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/assets/stylesheets/application.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/app/assets/stylesheets/application.css -------------------------------------------------------------------------------- /app/channels/application_cable/channel.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/app/channels/application_cable/channel.rb -------------------------------------------------------------------------------- /app/channels/application_cable/connection.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/app/channels/application_cable/connection.rb -------------------------------------------------------------------------------- /app/controllers/application_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/app/controllers/application_controller.rb -------------------------------------------------------------------------------- /app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/controllers/stytch_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/app/controllers/stytch_controller.rb -------------------------------------------------------------------------------- /app/controllers/users_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/app/controllers/users_controller.rb -------------------------------------------------------------------------------- /app/controllers/welcome_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/app/controllers/welcome_controller.rb -------------------------------------------------------------------------------- /app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /app/javascript/channels/consumer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/app/javascript/channels/consumer.js -------------------------------------------------------------------------------- /app/javascript/channels/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/app/javascript/channels/index.js -------------------------------------------------------------------------------- /app/javascript/packs/application.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/app/javascript/packs/application.js -------------------------------------------------------------------------------- /app/jobs/application_job.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/app/jobs/application_job.rb -------------------------------------------------------------------------------- /app/mailers/application_mailer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/app/mailers/application_mailer.rb -------------------------------------------------------------------------------- /app/models/application_record.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/app/models/application_record.rb -------------------------------------------------------------------------------- /app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/models/user.rb: -------------------------------------------------------------------------------- 1 | class User < ApplicationRecord 2 | end 3 | -------------------------------------------------------------------------------- /app/views/layouts/application.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/app/views/layouts/application.html.erb -------------------------------------------------------------------------------- /app/views/layouts/mailer.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/app/views/layouts/mailer.html.erb -------------------------------------------------------------------------------- /app/views/layouts/mailer.text.erb: -------------------------------------------------------------------------------- 1 | <%= yield %> 2 | -------------------------------------------------------------------------------- /app/views/stytch/authentication_error.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/app/views/stytch/authentication_error.html.erb -------------------------------------------------------------------------------- /app/views/stytch/check_your_email.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/app/views/stytch/check_your_email.html.erb -------------------------------------------------------------------------------- /app/views/stytch/login.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/app/views/stytch/login.html.erb -------------------------------------------------------------------------------- /app/views/users/edit.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/app/views/users/edit.html.erb -------------------------------------------------------------------------------- /app/views/welcome/index.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/app/views/welcome/index.html.erb -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/babel.config.js -------------------------------------------------------------------------------- /bin/bundle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/bin/bundle -------------------------------------------------------------------------------- /bin/rails: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/bin/rails -------------------------------------------------------------------------------- /bin/rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/bin/rake -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/bin/setup -------------------------------------------------------------------------------- /bin/spring: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/bin/spring -------------------------------------------------------------------------------- /bin/webpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/bin/webpack -------------------------------------------------------------------------------- /bin/webpack-dev-server: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/bin/webpack-dev-server -------------------------------------------------------------------------------- /bin/yarn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/bin/yarn -------------------------------------------------------------------------------- /config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config.ru -------------------------------------------------------------------------------- /config/application.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/application.rb -------------------------------------------------------------------------------- /config/boot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/boot.rb -------------------------------------------------------------------------------- /config/cable.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/cable.yml -------------------------------------------------------------------------------- /config/credentials.yml.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/credentials.yml.enc -------------------------------------------------------------------------------- /config/database.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/database.yml -------------------------------------------------------------------------------- /config/environment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/environment.rb -------------------------------------------------------------------------------- /config/environments/development.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/environments/development.rb -------------------------------------------------------------------------------- /config/environments/production.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/environments/production.rb -------------------------------------------------------------------------------- /config/environments/test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/environments/test.rb -------------------------------------------------------------------------------- /config/initializers/application_controller_renderer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/initializers/application_controller_renderer.rb -------------------------------------------------------------------------------- /config/initializers/assets.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/initializers/assets.rb -------------------------------------------------------------------------------- /config/initializers/backtrace_silencers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/initializers/backtrace_silencers.rb -------------------------------------------------------------------------------- /config/initializers/content_security_policy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/initializers/content_security_policy.rb -------------------------------------------------------------------------------- /config/initializers/cookies_serializer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/initializers/cookies_serializer.rb -------------------------------------------------------------------------------- /config/initializers/filter_parameter_logging.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/initializers/filter_parameter_logging.rb -------------------------------------------------------------------------------- /config/initializers/inflections.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/initializers/inflections.rb -------------------------------------------------------------------------------- /config/initializers/mime_types.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/initializers/mime_types.rb -------------------------------------------------------------------------------- /config/initializers/mini_profiler.rb: -------------------------------------------------------------------------------- 1 | Rack::MiniProfiler.config.start_hidden = true 2 | -------------------------------------------------------------------------------- /config/initializers/permissions_policy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/initializers/permissions_policy.rb -------------------------------------------------------------------------------- /config/initializers/wrap_parameters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/initializers/wrap_parameters.rb -------------------------------------------------------------------------------- /config/locales/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/locales/en.yml -------------------------------------------------------------------------------- /config/puma.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/puma.rb -------------------------------------------------------------------------------- /config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/routes.rb -------------------------------------------------------------------------------- /config/spring.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/spring.rb -------------------------------------------------------------------------------- /config/storage.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/storage.yml -------------------------------------------------------------------------------- /config/webpack/development.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/webpack/development.js -------------------------------------------------------------------------------- /config/webpack/environment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/webpack/environment.js -------------------------------------------------------------------------------- /config/webpack/production.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/webpack/production.js -------------------------------------------------------------------------------- /config/webpack/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/webpack/test.js -------------------------------------------------------------------------------- /config/webpacker.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/config/webpacker.yml -------------------------------------------------------------------------------- /db/migrate/20210423014055_create_users.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/db/migrate/20210423014055_create_users.rb -------------------------------------------------------------------------------- /db/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/db/schema.rb -------------------------------------------------------------------------------- /db/seeds.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/db/seeds.rb -------------------------------------------------------------------------------- /lib/assets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/tasks/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /log/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/public/404.html -------------------------------------------------------------------------------- /public/422.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/public/422.html -------------------------------------------------------------------------------- /public/500.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/public/500.html -------------------------------------------------------------------------------- /public/apple-touch-icon-precomposed.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/apple-touch-icon.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/public/robots.txt -------------------------------------------------------------------------------- /storage/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/application_system_test_case.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/test/application_system_test_case.rb -------------------------------------------------------------------------------- /test/channels/application_cable/connection_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/test/channels/application_cable/connection_test.rb -------------------------------------------------------------------------------- /test/controllers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/files/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/helpers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/integration/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/mailers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/models/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/system/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/test/test_helper.rb -------------------------------------------------------------------------------- /tmp/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tmp/pids/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/stytch-ruby-on-rails-example/HEAD/yarn.lock --------------------------------------------------------------------------------