diff --git a/app/models/oic_session.rb b/app/models/oic_session.rb index 952fc55..d7e3029 100644 --- a/app/models/oic_session.rb +++ b/app/models/oic_session.rb @@ -181,9 +181,9 @@ def access_token_query query = { 'grant_type' => 'authorization_code', 'code' => code, - 'scope' => 'openid profile email user_name', - 'id_token' => id_token, 'redirect_uri' => "#{host_name}/oic/local_login", + 'client_id' => client_config['client_id'], + 'client_secret' => client_config['client_secret'], } end