Skip to content

Commit

Permalink
Mention AUTHENTICATED_APP error in docs (saleor#1400)
Browse files Browse the repository at this point in the history
  • Loading branch information
lkostrowski authored Nov 22, 2024
1 parent c99d236 commit 4529c9a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/api-usage/authentication.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,10 @@ POST /graphql/ HTTP/1.1
Authorization: Bearer <app-token>
```

When calling graphQL, you may see `AUTHENTICATED_APP` error - if this happens, ensure you have attached valid token to the request header.

Apart of the authentication, app must also authorize with valid [permissions](../developer/permissions#app-permissions), that are applied once app is created.

### Dashboard extensions

Saleor Apps extending the dashboard will be passed a special JSON Web Token (JWT) with the effective permission set equal to the intersection of user and application permissions. This token allows your frontend part to access the API on behalf of the user.
Expand Down

0 comments on commit 4529c9a

Please sign in to comment.