Hi Samuseu,
We did not use custom OIDC clients. We are using code flow of openid. We are able to complete first step to get code and not able to get token. In my previous post i used postman to provide the parameters passed to endpoints. We are following the documentation mentioned in 3.0.1:-
OpenID Connect Flows#
The Gluu Server supports all flows defined in the Core spec, including implicit, code, and hybrid. The implicit flow, where the token and id_token are returned from the authorization endpoint, should only be used for applications that run in the browser, like a Javascript client. The code flow or hybrid flow should be used for server side applications, where code on the web server can more securely call the token endpoint to obtain a token. The most useful response type for the hybrid flow is "code id_token". Using this flow, you can verify the integrity of the code by inspecting the c_hash claim in the id_token.
If you are using the code flow, the response type should only be code. There is no point in using response type "code token id_token"--the extra tokens returned by the authorization endpoint will only create additional calls to the LDAP server and slow you down. If you are going to trade the code at the token endpoint for a new token and id_token, you don't need them from the authorization endpoint too.
Can you please provide your comments to get the token for code flow.
Thanks
Regards
Ramkumar.C