dmfs/oauth2-essentials

Support for Response Mode "code id_token"

Opened this issue · 1 comments

Hi,

is there a way to use the AuthorizationCodeGrant with response mode "code id_token"?
A big german accounting provider (DATEV) requires this mode as mandatory.

Thx
Norbert

dmfs commented

Hi Norbert, that's an OpenID Connect response mode. If you don't need the id_token itself, at present, your best option would be to copy and paste the AuthorizationCodeGrant class and adjust the response mode. If you also need the id_token things are a bit more complicated.

Adding proper support for OpenID Connect is on my todo list. Unfortunately it requires a few non-trivial changes that I didn't find the time to implement yet.