Documentatie/Authentication.md

14 lines
662 B
Markdown
Raw Normal View History

2020-03-10 11:03:02 +00:00
## Autentication
2020-03-22 16:29:51 +00:00
Farmmaps uses OpenID-connect: https://openid.net/connect/
2020-03-10 11:03:02 +00:00
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.
2020-03-22 19:55:16 +00:00
https://identitymodel.readthedocs.io/en/latest/native/overview.html
2020-03-10 11:03:02 +00:00
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