Bug Report
after migration and applying fixture i had to change the
src\Core\src\Security\src\Entity\OAuthAccessToken.php
#[ORM\Column(name: 'user_id', type: 'string', length: 25, nullable: true)]
private ?string $userId;
To
#[ORM\Column(name: 'user_id', type: 'string', length: 25, nullable: true)]
private ?string $userId=null;
i was able to generate access token but when i tried to access endpoint with bearer token it gave
{
"error": {
"messages": [
"User not found."
]
}
}
and problem was coming because of issue in verification of token .. issue goes if i passed exact jwt token in token column of oauth_access_tokens..
Summary
Current behavior
unable to get "grant_type": "client_credentials", not working out of the box