FusionAuth/fusionauth-netcore-client

Missing fields in token from login user response.

Closed this issue · 2 comments

mohed commented

Hello.

When calling the API directly from Postman on the login endpoint, the token in the response has some additional fields compared to the token one receives via using the library. The important one for us is the "aud" parameter. Is there a way to include the "aud" parameter in the Jwt token in the successResponse of the client.

mohed commented

Providing application id solved it. Sorry to bother you.

Glad you figured it out. This might be useful reading as well (if you haven't seen it already): https://fusionauth.io/docs/v1/tech/core-concepts/authentication-authorization/ as that talks a bit more about why a user can login but sometimes not receive certain claims.