forked from OpenNeo/impress
Emi Matchu
31a11a04fa
Okay, `sub` seems to be a pretty standard place for user identifiers. Let's start with that assumption! I override the `oauth2-mock-server`'s default of `johndoe` with `theneopetsteam`, just to be cute :3
9 lines
182 B
Ruby
9 lines
182 B
Ruby
class Devise::OmniauthCallbacksController < ApplicationController
|
|
def neopass
|
|
render plain: request.env["omniauth.auth"].uid
|
|
end
|
|
|
|
def failure
|
|
render plain: "Failure"
|
|
end
|
|
end
|