You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is probably a bug or limitation of our client builder. The action returns an Object.
@JSONResponse
public Object response;
This is because we return a typed error object during validation. We will need to review our Java2JSON builder, or refactor this action to set a typed value for @JSONResonse, and then it should build the clients properly.
The typescript client and the api appear to be functioning correctly in as much as we have defined the "UserInfoResponse" to be an open-ended map/dict. Verified in 1.55
retrieveUserInfoFromAccessToken
doesn't return aUserResponse
Description
This file has the incorrect return type https://github.com/FusionAuth/fusionauth-client-builder/blob/master/src/main/api/retrieveUserInfoFromAccessToken.json
It should return this domain object: https://github.com/FusionAuth/fusionauth-client-builder/blob/master/src/main/domain/io.fusionauth.domain.oauth2.UserinfoResponse.json
Affects versions
1.27.2
Steps to reproduce
Try to make a call with the client library. You will not get back what you expect. I'm not sure what happens in statically typed languages.
Expected behavior
Return the UserInfo object.
Additional context
Original bug report FusionAuth/fusionauth-typescript-client#54
The text was updated successfully, but these errors were encountered: