+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
require 'omniauth-oauth2'
module OmniAuth
module Strategies
:last_name => raw_info['info']['last_name'],
:email => raw_info['info']['email'],
:identity_url => raw_info['info']['identity_url'],
+ :username => raw_info['info']['username'],
}
end
end
def callback_url
- full_host + script_name + callback_path + "?return_to=" + CGI.escape(request.params['return_to'])
+ full_host + script_name + callback_path + "?return_to=" + CGI.escape(request.params['return_to'] || '')
end
def raw_info