Authentication
Overview
Authentication Methods
User Authentication (OAuth2)
1.
2.
3.
4.
5.
Machine-to-Machine Authentication (Client Credentials)
1.
2.
3.
Token Types
Access Token
Refresh Token
ID Token
Authentication Endpoints
Endpoint | Description |
---|---|
https://auth.aworld.cloud/oauth2/authorize | Authorization endpoint for initiating OAuth2 flows |
https://auth.aworld.cloud/oauth2/token | Token endpoint for obtaining access tokens |
https://auth.aworld.cloud/oauth2/userInfo | User info endpoint for obtaining user details |
User Contexts and Access Levels
Principal (Platform-level User)
User (Workspace-level User)
Integrating with AWorld Authentication
Web Applications
Mobile Applications
Server-side Applications
Note: The correct token endpoint for AWorld is https://auth.aworld.cloud/oauth2/token
Best Practices
1.
2.
3.
4.
5.
6.
7.
8.
Common Issues and Troubleshooting
Invalid Token
Invalid Grant
Unauthorized Client
Additional Resources
Modified at 2025-06-26 10:08:57