Skip to content

Instantly share code, notes, and snippets.

View kayleiburke's full-sized avatar

Kaylei Burke kayleiburke

  • Omaha, Nebraska
View GitHub Profile
@jperry
jperry / remote_authenticatable.rb
Last active February 8, 2023 15:48
Devise and warden remote authentication
module Devise
module Models
module RemoteAuthenticatable
extend ActiveSupport::Concern
#
# Here you do the request to the external webservice
#
# If the authentication is successful you should return
# a resource instance