Reputation: 397
i'm trying to generate new access token using Simple oauth (v 5.2.3) module in drupal 9 , when I generate private and public keys from module settings , the private and public key files created but the are empty . and when I generate them by another way , this error shows
and Drupal Log shows this error message :
League\OAuth2\Server\Exception\OAuthServerException: The resource owner or authorization server denied the request. in League\OAuth2\Server\Exception\OAuthServerException::accessDenied()
Upvotes: 0
Views: 720
Reputation: 51
This worked for me:
Try to add your client's secret again into the OAuth Clients on the following path: /admin/config/services/consumer
Clear the Drupal cache
Upvotes: 0