I've setup oidc-provider for pkce (v7x). When I do the following:
- request a code from /auth with response_type='code'
- Used the code to get token form /token with grant_type=authorization_code
- Receive token as shown:
{
access_token: "a8DM82TgXF-cjlzH8yOjuK6_OF9h_JaYJjSPrAdCRG0"
expires_in: 86400
id_token: "eyJhbGci....FQg"
scope: "openid"
token_type: "Bearer"
}
How can I get node-oidc-provider to return a JWT access_token with claims?