You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- class Oauth::CasController < Oauth::BaseController
- def create
- user, is_new_user = Oauth::CreateORFindCasUserService.call(current_user, auth_hash)
- successful_authentication(user)
-
- redirect_to root_url
- end
-
-
- def auth_hash
- JSON.parse(CGI.unescape(request.env['omniauth.auth'].extra.to_json))
- end
- end
|