0. 🆔 ArcGIS identity

Number of APIs: 10

  1. 🪪 OAuth 2.0 | ⭐ Recommended-📄 Authentication Grant Flow with PKCE (SHA256) | ⭐ Recommended - 1. URL to get user_code GET https://www.arcgis.com/sharing/rest/oauth2/authorize/?client_id={{client_id}}&redirect_uri=https://hhkaos.github.io/arcgis-oauth-callback/&response_type=code&code_challenge=qaXuju2sX8lKLvErIKHfdrg0h7DLvSeLuErfsfMJFj4&code_challenge_method=S256&expiration=60&state=qyxmpg9e5uWUPbxw

  2. 🪪 OAuth 2.0 | ⭐ Recommended-📄 Authentication Grant Flow with PKCE (SHA256) | ⭐ Recommended - 4. Exchange refresh_token GET https://www.arcgis.com/sharing/rest/oauth2/token?client_id={{client_id}}&grant_type=exchange_refresh_token&redirect_uri=https://hhkaos.github.io/arcgis-oauth-callback/&refresh_token={{refresh_token}}

  3. 🪪 OAuth 2.0 | ⭐ Recommended-📄 Authentication Grant Flow with PKCE (plain) - 1. URL to get user_code GET https://www.arcgis.com/sharing/rest/oauth2/authorize/?client_id={{client_id}}&redirect_uri=https://hhkaos.github.io/arcgis-oauth-callback/&response_type=code&code_challenge=dd130a849d7b29e5541b05d2f7f86a4acd4f1ec598c1c9438783f56bc4f0ff80&code_challenge_method=plain&expiration=60&state=qyxmpg9e5uWUPbxw

  4. 🪪 OAuth 2.0 | ⭐ Recommended-📄 Authentication Grant Flow with PKCE (plain) - 4. Exchange refresh_token GET https://www.arcgis.com/sharing/rest/oauth2/token?client_id={{client_id}}&grant_type=exchange_refresh_token&redirect_uri=https://hhkaos.github.io/arcgis-oauth-callback/&refresh_token={{refresh_token}}

  5. 🪪 OAuth 2.0 | ⭐ Recommended-📄 Authentication Grant Flow - 4. Exchange refresh_token GET https://www.arcgis.com/sharing/rest/oauth2/token?client_id={{client_id}}&grant_type=exchange_refresh_token&redirect_uri=https://hhkaos.github.io/arcgis-oauth-callback/&refresh_token={{refresh_token}}

  6. 🪪 OAuth 2.0 | ⭐ Recommended-🌐 Implicit Grant Flow | ⚠️ Read doc - Get token | ⚠️ Read doc GET https://www.arcgis.com/sharing/rest/oauth2/authorize/?client_id={{client_id}}&redirect_uri=https://hhkaos.github.io/arcgis-oauth-callback/&response_type=token&expiration=60&state=qyxmpg9e5uWUPbxw

  7. 🪪 OAuth 2.0 | ⭐ Recommended-🧑‍🚀 Qodex (Authorization tab) - Test request | Get user content GET https://www.arcgis.com/sharing/rest/content/users/{{username}}?f=json&token={{access_token}}

  8. 🪪 OAuth 2.0 | ⭐ Recommended-🗑️ Revoke OAuth2 token - Remove token POST https://www.arcgis.com/sharing/rest/oauth2/revokeToken?f=json&auth_token={{access_token}}&client_id={{client_id}}

  9. 🔑 ArcGIS token | Direct | ❗ Discouraged - Get token | ❗ Discouraged POST https://www.arcgis.com/sharing/rest/generateToken

  10. 🪪 OAuth 2.0 | ⭐ Recommended-📄 Authentication Grant Flow - 1. URL to get user_code GET https://www.arcgis.com/sharing/rest/oauth2/authorize/?client_id={{client_id}}&redirect_uri=https://hhkaos.github.io/arcgis-oauth-callback/&response_type=code&expiration=120&state=qyxmpg9e5uWUPbxw