Skip to content

Commit 26a867f

Browse files
Merge pull request #4900 from nebulab/waiting-for-dev/api_auth_how_to
Link to how to sign in the API with solidus_auth_devise
2 parents 1050ca0 + 3b3d6c1 commit 26a867f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/openapi/authentication.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ You can use your API key to access all resources in the API. The API key must be
1010
Authorization: Bearer API_KEY
1111
```
1212

13+
For a client to obtain the API key for a user, you'll first need to implement a custom sign-in strategy. It might depend on your setup, but a common approach is leveraging solidus_auth_devise, as [explained in our guides](https://guides.solidus.io/how-tos/how-to-sign-in-to-the-solidus-api-using-solidus_auth_devise).
14+
1315
As an admin, you can find your API token in the admin section under Users > Your e-email > API Access (at `admin/users/<user_id>/edit`)
1416

1517
Example:

0 commit comments

Comments
 (0)