Skip to content

Commit

Permalink
docs(README): remove users-permissions auth section
Browse files Browse the repository at this point in the history
  • Loading branch information
Convly committed Dec 16, 2024
1 parent e190798 commit a489182
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
- [Basic Configuration](#basic-configuration)
- [Authentication](#authentication)
- [API Token Authentication](#api-token-authentication)
- [Users & Permissions Authentication](#users--permissions-authentication)
3. [API Reference](#-api-reference)
4. [Resource Managers](#-resource-managers)
- [`.collection()`](#collectionresource)
Expand Down Expand Up @@ -109,23 +108,6 @@ const sdk = createStrapiSDK({
});
```

#### Users & Permissions Authentication

For login-based authentication using the "Users & Permissions" plugin, configure the SDK as follows:

``` javascript
const sdk = createStrapiSDK({
baseURL: 'http://localhost:1337/api',
auth: {
strategy: 'users-permissions',
options: {
identifier: 'user-email',
password: 'user-password',
},
},
});
```

## 📚 API Reference

The Strapi SDK instance provides key properties and utility methods for content and API interaction:
Expand Down

0 comments on commit a489182

Please sign in to comment.