You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
The client credentials grant is designed for machine-to-machine (M2M) communication.
337
+
The Client Credentials Grant allows the machine (client) to authenticate itself directly with the authorization server using its credentials, such as a client ID and client secret.
338
+
The client credentials grant allows for scope-based authorization from a non-interactive system to an API.
339
+
Your app can directly request client credentials from the token endpoint to receive an access token.
340
+
341
+
To request the token from the LocalStack URL, use the following endpoint: `://cognito-idp.localhost.localstack.cloud:4566/_aws/cognito-idp/oauth2/token`.
342
+
For additional information on our endpoints, refer to our [Internal Endpoints](https://docs.localstack.cloud/references/internal-endpoints/) documentation.
343
+
344
+
If there are multiple user pools, LocalStack identifies the appropriate one by examining the `clientid` of the request.
--scopes '[{"ScopeName":"read","ScopeDescription":"Read access to Organizations"}]'
361
+
362
+
```
363
+
364
+
You can retrieve the token from your application using the specified endpoint: `http://cognito-idp.localhost.localstack.cloud:4566/_aws/cognito-idp/oauth2/token`.
0 commit comments