forked from FarmMaps/FarmMapsApiClient
Update appsettings, included the three environments test, acceptance and production. + update the NBS sample code to the newest flow (backwards compatible
This commit is contained in:
@@ -1,8 +1,25 @@
|
||||
{
|
||||
"Authority": "https://accounts.test.farmmaps.eu/",
|
||||
"Endpoint": "https://test.farmmaps.eu/",
|
||||
"BasePath": "api/v1",
|
||||
"DiscoveryEndpointUrl": "https://accounts.test.farmmaps.eu/.well-known/openid-configuration",
|
||||
//There are three farmmaps environments, uncomment the environemnt you want to use with this sample client
|
||||
|
||||
////test environment
|
||||
//"Authority": "https://accounts.test.farmmaps.eu/",
|
||||
//"Endpoint": "https://test.farmmaps.eu/",
|
||||
//"BasePath": "api/v1",
|
||||
//"DiscoveryEndpointUrl": "https://accounts.test.farmmaps.eu/.well-known/openid-configuration",
|
||||
|
||||
////acceptance environment
|
||||
//"Authority": "https://accounts.acc.farmmaps.eu/",
|
||||
//"Endpoint": "https://acc.farmmaps.eu/",
|
||||
//"BasePath": "api/v1",
|
||||
//"DiscoveryEndpointUrl": "https://accounts.acc.farmmaps.eu/.well-known/openid-configuration",
|
||||
|
||||
//production environment
|
||||
"authority": "https://accounts.farmmaps.eu/",
|
||||
"endpoint": "https://farmmaps.eu/",
|
||||
"basepath": "api/v1",
|
||||
"discoveryendpointurl": "https://accounts.farmmaps.eu/.well-known/openid-configuration",
|
||||
|
||||
//overige info
|
||||
"RedirectUri": "http://example.nl/api",
|
||||
"Scopes": ["api"]
|
||||
"Scopes": [ "api" ]
|
||||
}
|
Reference in New Issue
Block a user