Auth
Auth endpoints handle authentication and token management.
View role definitions to understand the permission levels.
Endpoints
| Endpoint | Description | Organisation admin | Course admin | Student | Guest |
|---|---|---|---|---|---|
| GET /api/auth/token | Exchanges a Google OAuth authorization code for a JWT access token and user information. If the user does not exist, a new user is created. Returns the access token and user info. View endpoint | ⬤ | ⬤ | ⬤ | ⬤ |
Key
| Symbol | Permissions |
|---|---|
| ⬤ | Full access |
| ◖ | Access limited to resources specified for this user |
| ✕ | No access |