Mdorinth OAuth Provider #11514
Replies: 1 comment
-
UPDATE. I already had seen some videos but the problem is the oauth provider (Modrinth). I need a way to get the URLSearchParams to use them into a function to get the token. This is the code i already have: `import type { OAuthConfig, OAuthUserConfig } from "@auth/core/providers" // Tipos actualizados para el perfil de usuario de Modrinth // Tipos para la respuesta del token de Modrinth // Tipos para los tokens // Tipos para los parámetros de la función de solicitud de token // Tipos para los parámetros de la función de solicitud de información del usuario // Nueva interfaz para los estilos del proveedor function handleToken(code:string) { function handleUserInfo() { export default function ModrinthProvider(
} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm doing a proyect related to minecraft so i need to use the modrinth api to get data from mods and releases,... I need to do a custom provider but i don't know well how to do it. Does it already exits an Modrinth OAuth or how could I do one?? I readed the docs but I am not very confort with authjs (and also with any auth system) yet so I need help. Thank you 😄
Beta Was this translation helpful? Give feedback.
All reactions