[OSM-dev] OAuth2 in C#
Tom Hughes
tom at compton.nu
Tue Jun 7 14:23:21 UTC 2022
On 07/06/2022 14:22, Michele OSM3 wrote:
> Can anyone help me on OAuth2 in C#?
> I tried this example, but it doesn't work:
> https://stackoverflow.com/questions/32923325/obtain-bearer-token-using-httpclient
> <https://stackoverflow.com/questions/32923325/obtain-bearer-token-using-httpclient>
If you mean for OSM then we don't support the client credentials
flow which that is using.
You need to use the authorization code flow, ideally with PKCE.
Tom
--
Tom Hughes (tom at compton.nu)
http://compton.nu/
More information about the dev
mailing list