0

We are working on making our web application open id connect compliant and when i look up apache oltu library, i dont see any ways to set "idtoken" in the /token endpoint. The documentation says Apache Oltu has open id connect support but i dont see a java class for it. Is OAuthASResponse.OAuthAuthorizationResponseBuilder supposed to set the idtoken with setParams() method ? Any pointers?

gbhakta
  • 203
  • 1
  • 3
  • 7

1 Answers1

0

yes, it supports openid connect implementation and you can set the id_token using the setparam as below:

OAuthResponse oResponse = OAuthASResponse
                    .tokenResponse(HttpServletResponse.SC_OK)
                    .setAccessToken("abc").setExpiresIn("3600")
                    .setParam("id_token", "a1b2").buildJSONMessage();
gbhakta
  • 203
  • 1
  • 3
  • 7