Following are the expected requests and the relevant responses WSO2 Identity Server would generate for this OpenID Connect Implicit Client flow.
Response_type=id_token
Request
...
Please refer https://wso2.org/jira/browse/IDENTITY-4247 for a known issue in the above flow and the fix.
...
Note |
---|
Note: The nonce value is a mandatory parameter |
...
and it is not provided, you will not receive an Id Token. |
Code Block | ||
---|---|---|
|
...
{"auth_time":1453184484,"exp":1453188084,"sub":"admin@carbon.super","azp":"W2OoSxQDCVrBk1lnffo1NGCKZbQa","at_hash":"DoxjyXzmrL6Z_kWRzmBdCA","nonce":"abc","aud":["W2OoSxQDCVrBk1lnffo1NGCKZbQa"],"iss":"https:\/\/localhost:9443\/oauth2\/token","iat":1453184484} |
Info |
---|
The Id Token does not contain the |
...
because no access token is generated |
...
and an access token is required to calculate the |
...
. |
Response_type : id_token token
Request
Response
Here, note that both theNote |
---|
Note: The access token and the IDToken are both returned to the client. |