- URL:
/api/auth/google/login/
- Method:
GET
- Description: Initiates Google OAuth login.
- Authentication: Not required
- URL:
/api/auth/google/callback/
- Method:
GET
- Description: Handles Google OAuth callback.
- Authentication: Not required
- URL:
/api/auth/logout/
- Method:
POST
- Description: Logs out the user.
- Authentication: Required
- URL:
/api/auth/token/refresh/
- Method:
POST
- Description: Refreshes the JWT token.
- Authentication: Not required
- URL:
/api/auth/admin/redirect/
- Method:
GET
- Description: Redirects to the admin panel.
- Authentication: Required
- URL:
/api/auth/admin/auto-login/
- Method:
POST
- Description: Automatically logs in the admin.
- Authentication: Required
- URL:
/api/auth/verify-token/
- Method:
POST
- Description: Verifies the JWT token.
- Authentication: Required
- URL:
/api/auth/profile/
- Method:
GET
- Description: Retrieves the user's profile information.
- Authentication: Required