Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rotating Client Credentials #814

Open
sharat-rhinofish opened this issue Nov 10, 2024 · 0 comments
Open

Rotating Client Credentials #814

sharat-rhinofish opened this issue Nov 10, 2024 · 0 comments

Comments

@sharat-rhinofish
Copy link

sharat-rhinofish commented Nov 10, 2024

Problem description:

Thank you for incorporating the Grantless Scope to Rotate Client credentials with SP API. The enum however has a minor typo error

The enum in src/Enums/GrantlessScope.php
case ROTATE_TOKEN = 'sellingpartnerapi::client_credentials:rotation';

needs to be changed to

case ROTATE_TOKEN = 'sellingpartnerapi::client_credential:rotation';

Note the singular for client_credential. Refer https://developer-docs.amazon.com/sp-api/docs/application-management-api-v2023-11-30-use-case-guide#step-2-call-the-rotateapplicationclientsecret-operation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant