Initiates OAuth 2.0 authentication with a supported third-party provider (Google or GitHub). This endpoint redirects the user to the provider's authorization page, where they can authenticate and grant access to their profile information.According to the system requirements, OAuth authentication supports both third-party registration and login through Google and GitHub. Accounts created through OAuth are automatically verified, and the system stores profile information retrieved from the provider, including name, email, and profile picture.
Request
Path Params
Responses
🔵302Success
text/plain
Redirects the user to the selected OAuth provider's authorization page.
HTTP/1.1 302 Found
Location: https://accounts.google.com/o/oauth2/v2/auth?client_id=...&redirect_uri=...&response_type=code&scope=...&state=...&code_challenge=...&code_challenge_method=S256