arcgis-maps-sdk-dotnet-samples
arcgis-maps-sdk-dotnet-samples copied to clipboard
[Bug] OAuth 2.0 can't be use in Demo
Platforms
- [ ] Android
- [ ] iOS
- [ ] macOS
- [X] Windows
Apps
- [ ] .NET MAUI
- [ ] WinUI
- [X] WPF
Bug Description
I try to run up WPF demo, but failed. Because I cant get APIKey。I have reviewed all the application information about API credentials on the official website and it is clear that the old API has been abandoned and replaced with OAuth 2.0, but this cannot be used for demo.As below:
ArcGIS Maps SDK: The API key '*RnelT' is invalid, expired or does not have access to the resource. - 'https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/webmaps/arcgis/topographic'. Please visit https://developers.arcgis.com/api-keys to configure the API key to access the resource, or to create a new API key. ArcGIS Maps SDK: Load Error: Basemap Esri.ArcGISRuntime.Http.ArcGISWebException The provided APIKey is invalid, expired or does not have access to the resource. ArcGIS Maps SDK: Load Error: Map Esri.ArcGISRuntime.Http.ArcGISWebException The provided APIKey is invalid, expired or does not have access to the resource.
Steps to Reproduce
Just run up.
Impacted Samples
No response
Log Output
No response