UNPKG

@ioloco/oauth

Version:

OAuth 2.0 utility library that provides helper functions for integrating third-party login providers. Designed to simplify the token exchange and user-fetch flows, while leaving API route implementation to the developer.

7 lines (6 loc) 189 B
export declare function handleOAuthCallbackError({ error, code, state, redirectTo }: { error?: string; code?: string; state?: string; redirectTo: string; }): string | null;