Update page 'Authentication'

master
Mark van der Wal 2020-03-10 11:03:02 +00:00
parent 2a72da6f56
commit 399c27ccde
1 changed files with 13 additions and 0 deletions

13
Authentication.md 100644
View File

@ -0,0 +1,13 @@
## Autentication
Farmmaps uses OpenID: https://auth0.com/docs/protocols/oidc/openid-connect-discovery
It is recommended to use a library to facilitate the authentication.
To get the openid configuration call the following url: https://accounts.farmmaps.awtest.nl/.well-known/openid-configuration
The user could also use the openid-configuration to handle authentication by themselves.
The token received needs to be used in the request header.
>'Authorization': 'bearer {token}'
The token can also easily be created through the swagger documentation:
https://farmmaps.awtest.nl/swagger/index.html