ASP.NET Core API Sample to test ArcGIS Authentication middleware.
AspNet.Security.OAuth.ArcGIS.Sample.API is built against the latest NET Core 3.
- Run install-sdk.ps1 or install-sdk.sh to install required .NET Core SDK.
- Run
dotnet build
in the root of the repo.
- Manage user secrets:
{
"Credentials": {
"ClientId": "your-AGOL-client-id-here",
"ClientSecret": "your-AGOL-client-secret-",
"AuthorizationEndpoint": "your-AGOL-authorization-endpoint-here",
"TokenEndpoint": "your-AGOL-token-endpoint-here"
}
}