Moved wiki to main repository instead of wiki as this is a documentation repository.

This commit is contained in:
Mark van der Wal
2020-05-05 20:45:25 +02:00
parent 1315978043
commit da2f42ee74
20 changed files with 2113 additions and 2 deletions

14
Authentication.md Normal file
View File

@@ -0,0 +1,14 @@
## Autentication
Farmmaps uses OpenID-connect: https://openid.net/connect/
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.
https://identitymodel.readthedocs.io/en/latest/native/overview.html
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