app_data is not returned as part of claims
Version: 1.4.4
Describe the bug
the app_data user field is not returned as part of the claims in the access_token
Steps To Reproduce
const { data, errors } = await authorizer.validateJWTToken({ token, token_type: 'access_token' })
app_data is not part of data.claims
Expected behavior
In the above example I would expect data.claims.app_data to contain the app_data from the database.
Desktop (please complete the following information):
- OS: macOS 14.6.1
- platform: Node 20
Some context on this issue: We rely on data in the app_data field to authorize users. We can expose app_data through the custom acces token function, but we cannot configure this in PR environments or E2E environments (i.e. environments that are automatically created and seeded). So maybe adding an ENV variable that exposes app_data to the user data would be an option?