We are trying to send some extra scope in openid-client passport provider but scopes are not sending and granted except default ones
["openid","email","profile"].
According to ticket
Steps To Reproduce
Steps to reproduce the behavior:
Install passport on my local server.
Create a passport provider type: openid-client
Creat an openid client on remote server.
Provide client info in local passport providers options. Here scopes are ["openid","email","profile","phone","clientinfo"]
For the local server We check "passport.log"
For the RS we check "oxauth.log"
Expected behavior
For RS oxauth.log
In here scope should be ["openid","email","profile","phone","clientinfo"]
Here Granted scope should be ["openid","email","profile","phone","clientinfo"]
For LS passport.log
In provider config scopes are ["openid","email","profile","phone","clientinfo"]
Here response should be with scope ["openid","email","profile","phone","clientinfo"]
Actual behavior
For RS oxauth.log
In "gluu.oxauth.authorize.ws.rs.AuthorizeRestWebServiceImpl" we see scope=["openid","email","profile"]
Here Granted scope only ["openid","email","profile"]
For LS passport.log
we get response with scope ["openid","email","profile"]
Desktop (please complete the following information):
Describe the issue
We are trying to send some extra scope in openid-client passport provider but scopes are not sending and granted except default ones ["openid","email","profile"]. According to ticket
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
For RS oxauth.log
For LS passport.log
Actual behavior
For RS oxauth.log
For LS passport.log
Desktop (please complete the following information):