I am working on a use case where I am trying to achieve the following:
Use the OpenID Connect protocol. Spec is here: (http://openid.net/specs/openid-connect-core-1_0.html)
Issue a call to the /oauth2/access_token endpoint with:
a. For resource authentication: Use
grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer
This is as per the spec (https://tools.ietf.org/html/draft-ietf-oauth-jwt-bearer-12)b. For client authentication: Use
client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer
This is again as per the same spec as listed in the point #a above.
My question is:
I know the Open ID Connect spec only talks about the "Authorization Code" and the "Implicit" grant scenarios. However, I am planning to use the Open ID spec in combination with the JWT Bearer spec. In other words, send the authentication and authorization information in a single call to the OAuth2.0 token api (/access_token) via the JWT Bearer Grant Type and receive an access token and id_token in return. Is this possible or would I be going against the Open ID Connect spec?