This repository contains the files you need to use Vanilla's jsConnect with a ruby/rails project.
The following files are included in this repo.
lib/js_connect.rb
This is the main file you need. You don't need any other file in your project. You can just drop this file anywhere that you can access it on your site.app/controllers/sso_controller.rb
This file is an example rails controller. You can drop this file into your rails application or start from scratch. Please note that if you use this file you'll also have to add a route to your rails config.