MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / router

Function router

apps/api/src/routes/oauth-callback.router.ts:4–15  ·  view source on GitHub ↗
(fastify)

Source from the content-addressed store, hash-verified

2import type { FastifyPluginCallback } from 'fastify';
3
4const router: FastifyPluginCallback = async (fastify) => {
5 fastify.route({
6 method: 'GET',
7 url: '/github/callback',
8 handler: controller.githubCallback,
9 });
10 fastify.route({
11 method: 'GET',
12 url: '/google/callback',
13 handler: controller.googleCallback,
14 });
15};
16
17export default router;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected