ShareFile API Application Settings Check ======================================= Current Configuration: ===================== Subdomain: cazarin Client ID: CwOHHD06vOwW4QlxPEYH4GULOhgoZLAw Client Secret: l1ua****Zjjk Manual Verification Steps: ========================= 1. Log into ShareFile: https://cazarin.sharefile.com 2. Go to Admin → API 3. Find your API application with Client ID: CwOHHD06vOwW4QlxPEYH4GULOhgoZLAw 4. Check the following settings: a) OAuth Grant Types Supported: - [ ] Authorization Code - [ ] Password Grant - [ ] Client Credentials - [ ] Refresh Token b) Redirect URIs: - [ ] https://localhost/callback - [ ] https://yourdomain.com/callback - [ ] (any other URIs configured) c) Scopes/Permissions: - [ ] account_management - [ ] file_management - [ ] user_management - [ ] (other scopes) d) Application Status: - [ ] Active/Enabled - [ ] Not suspended 5. If Password Grant is NOT supported: - You'll need to use Authorization Code flow - Set up a proper redirect URI - Implement the full OAuth flow 6. If Password Grant IS supported: - The issue is likely username/password format - Run: php test_username_formats.php 7. Alternative: Check ShareFile API documentation - Visit: https://api.sharefile.com/gettingstarted/oauth2 - Look for specific requirements for your API app type Next Steps: =========== 1. Check your API application settings above 2. If Password Grant is supported, run: php test_username_formats.php 3. If Password Grant is NOT supported, we need to implement Authorization Code flow 4. Report back what you find in the API application settings