oauth-instruct
All checks were successful
Deploy on push / deploy (push) Successful in 7m13s

This commit is contained in:
2025-09-23 21:34:48 +03:00
parent c1a7902937
commit 9d4e24732e
6 changed files with 140 additions and 6 deletions

View File

@@ -60,7 +60,7 @@ const oauth = (provider: string) => {
### 2. Backend Endpoints
#### GET `/auth/oauth/{provider}`
#### GET `/oauth/{provider}`
```python
@router.get("/auth/oauth/{provider}")
async def oauth_redirect(
@@ -82,9 +82,9 @@ async def oauth_redirect(
return RedirectResponse(url=oauth_url)
```
#### GET `/auth/oauth/{provider}/callback`
#### GET `/oauth/{provider}/callback`
```python
@router.get("/auth/oauth/{provider}/callback")
@router.get("/oauth/{provider}/callback")
async def oauth_callback(
provider: str,
code: str,