siwe_rails
gem to set up and configure the endpoints to generate and verify a Sign-In with Ethereum message in a Rails application.omniauth-siwe
provider with OmniAuth in a Rails application.siwe-rails-examples
repository locally: Gemfile
to the current version of Ruby that you are using. You can check your version of Ruby by entering ruby -v
in your terminal.custom-controller
directory in siwe-rails-examples
.localhost:3000
in your web browser.siwe_rails
gem in the same parent directory as siwe-rails-examples
: rails-engine
directory in siwe-rails-examples
.localhost:3000
in your web browser.omniauth-siwe
gem in the same parent directory as siwe-rails-examples
: omniauth
directory in siwe-rails-examples
.redirect_uris
, according to your setup:localhost:3000
, we need the redirect_uris
to contain http://localhost:3000/auth/siwe/callback
.omniauth.rb
under omniauth/config/initializers
with both the provided identifier (client_id
) and secret (client_secret
):localhost:3000
in your web browser.