The project is in a healthy, maintained state
OmniAuth strategy for Starling Bank
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

OmniAuth Starling

An OmniAuth strategy for Starling

Installation

Add the OmniAuth Starling and OmniAuth rails_csrf_protection gems to your Gemfile

gem 'omniauth-starling'
gem 'omniauth-rails_csrf_protection'

Usage

You can create an application on the Starling Developer Portal and get your app and secret keys.

Here's an example for adding the middleware to a Rails app in config/initializers/omniauth.rb:

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :starling, ENV["STARLING_APP"], ENV["STARLING_SECRET"]
end

Or for a Starling Sandbox application:

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :starlingsandbox, ENV["STARLING_APP"], ENV["STARLING_SECRET"]
end