mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-09-21 21:15:13 +00:00
* Update oauth2 route naming and storage * Update some arg naming * Update oauth2 redirect uri * adapts to the front-end oauth2
12 lines
434 B
Python
12 lines
434 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
from fastapi import APIRouter
|
|
|
|
from backend.app.admin.api.v1.oauth2.github import router as github_router
|
|
from backend.app.admin.api.v1.oauth2.linux_do import router as linux_do_router
|
|
|
|
router = APIRouter(prefix='/oauth2')
|
|
|
|
router.include_router(github_router, prefix='/github', tags=['GitHub OAuth2'])
|
|
router.include_router(linux_do_router, prefix='/linux-do', tags=['LinuxDo OAuth2'])
|