Create an OAuth Client
MiraBridge Phone requires an OAuth client to authenticate securely with the Genesys Cloud API.
Step 1: Go to OAuth Settings
- In Genesys Cloud, go to Admin > Integrations > OAuth
- Click + Add Client
Step 2: Fill in Client Details
-
Client Name:
Example:MiraBridge Phone -
Grant Types:
✅ Token Implicit Grant (Browser) -
Redirect URIs:
Include the following URIs, replacing{REGION}with your Genesys Cloud region domain:
https://phone.mirabridge.cloud
https://apps.{REGION}/crm/index.html
https://apps.{REGION}/crm/authWindow.html
Example for Frankfurt (mypurecloud.de):
https://phone.mirabridge.cloud
https://apps.mypurecloud.de/crm/index.html
https://apps.mypurecloud.de/crm/authWindow.html
- Scopes:
conversations:readonly
Step 3: Save and Copy Client ID
Click Save, then copy the Client ID.
You’ll need this value when constructing your MiraBridge widget URL.
🔗 For more details, see the official guide:
Create an OAuth Client
Verification and Testing
Test OAuth Configuration
To verify your OAuth client is configured correctly:
- Construct a test URL with your Client ID:
https://phone.mirabridge.cloud/api/v1/deployment/main/init?region=mypurecloud.de&clientId=YOUR_CLIENT_ID&enableDebug=true - Open the URL in a browser and verify:
- The page loads without errors
- Authentication redirects work properly
- No OAuth-related errors appear in the browser console
Common OAuth Issues
Problem: “Invalid redirect URI” error
- Solution: Verify redirect URIs exactly match the format shown above
- Check: Ensure no extra spaces or characters in the URI list
Problem: “Invalid client” error
- Solution: Confirm the Client ID is copied correctly
- Check: Verify the client is saved and active in Genesys Cloud
Problem: Authentication loop or timeout
- Solution: Check that popup blockers are disabled
- Verify: Confirm the correct Genesys Cloud region is specified
Security Considerations
OAuth Best Practices
- Principle of Least Privilege: Only assign necessary scopes
- Regular Review: Periodically audit OAuth clients and their usage
- Monitoring: Monitor OAuth client usage through Genesys Cloud logs
- Documentation: Keep records of OAuth client purposes and configurations
Required Scopes
Currently, MiraBridge Phone requires:
conversations:readonly- For accessing conversation data
Note: Additional scopes may be required in future versions. Check with MiraBridge support for the latest requirements.
Next Steps
Once your OAuth client is configured:
- Proceed to Widget URL Construction
- Test the configuration with debug logging enabled
- Continue with Widget Integration
Need help? See our Troubleshooting Guide for common OAuth issues and solutions.