Closed svycka closed 7 years ago
@bshaffer also looks like payload example is outdated? because now it generates something like this:
{
"id": "394a71988caa6cc30601e43f5b6569d52cd7f6df",
"jti": "394a71988caa6cc30601e43f5b6569d52cd7f6df",
"iss": "",
"aud": "client_id",
"sub": "user_id",
"exp": 1483711650,
"iat": 1483708050,
"token_type": "bearer",
"scope": null
}
fixed example to work same as https://github.com/bshaffer/oauth2-server-php/blob/v1.8.0/src/OAuth2/Encryption/Jwt.php#L141-L148