user:jan001:ioa:farmos:postman_auth
Postman API Auth
Grant Type: Password Credentials
- Create new collection
- Edit collection
- Auth
- Type: OAuth 2.0
- Add auth data to: Request Headers
- Header Prefix: Bearer
- Configure New Token:
- Token Name: FarmOS-dev
- Grant Type: Password Credentials
- Access Token URL: http://localhost/oauth/token
- Client ID: farm
- Client Secret: <empty>
- Username: admin
- Passowrd: admin
- Scope: <empty>
- Client Authentication: Send as Basic Auth header
- Click on “Get New Access Token”
- This has to be redone on every restart of farmOS unfortunatly
- Use the new Token in Access Token
- Save and you are finished
- Every request saved in this collection with “parent auth” will be authenticated successfully
user/jan001/ioa/farmos/postman_auth.txt · Last modified: 2023/01/05 14:38 by 127.0.0.1