Could not authentificate error
I try to use oauth-generic provider in Gitlab CE with my custom OAuth provider, but it fails with error:
Could not authenticate you from *site* because "{"token type":"bearer","access token":"mtuwmdk4nzq4otoxojiymtu4omnkmzc0nzayodnlodmxmge3ndbkotexyjcxnmrlmge4","expires in":60}".
My configuration:
{ 'name' => 'oauth2_generic', 'app_id' => '1', 'app_secret' => '***', 'args' => { client_options: { 'site' => 'http://***', 'user_info_url' => '/forum/smf_oauth.php', 'authorize_url' => '/forum/smf_oauth.php', 'token_url' => '/forum/smf_oauth.php' }, user_response_structure:{ root_path: [], attributes: { nickname: 'username', name: 'name', email: 'email'} }, name: 'eu07' } }