i am trying to implement an openidc/oauth server in php to be used with an
apache mod_auth_openidc client, does somebody as already succeeded with this kind of config?
by spying the HTTP streams it can see
the code returned after an response_type=code request to authorize end point
the token returned ( Bearer) after request to the token end point.
after this mod_auth_openidc complaint about the no "id_token" parameter found in the code response, and effectively there is no id_token field in the token.
i do have set the $config['use_openid_connect'] = true option in the server init
as stated in the doc.
i began to debug oauth2-server-php code, and i may be wrong, but i have the feeling
that the class OAuth2/OpenID/GrantType/AuthorizationCode.php which do the id_token
initialisation is never called , this is the OAuth2/GrantType/AuthorizationCode.php
class that is called and it does not initilalise the id_token.
Hi,
this is more a question than an issue :
i am trying to implement an openidc/oauth server in php to be used with an apache mod_auth_openidc client, does somebody as already succeeded with this kind of config?
by spying the HTTP streams it can see
after this mod_auth_openidc complaint about the no "id_token" parameter found in the code response, and effectively there is no id_token field in the token.
i do have set the $config['use_openid_connect'] = true option in the server init as stated in the doc.
i began to debug oauth2-server-php code, and i may be wrong, but i have the feeling that the class OAuth2/OpenID/GrantType/AuthorizationCode.php which do the id_token initialisation is never called , this is the OAuth2/GrantType/AuthorizationCode.php class that is called and it does not initilalise the id_token.
does someone has any advice on this ?
thank you by advance.