@monaco-auth/core
v0.0.2
Published
The basic OAuth library
Downloads
2
Readme
@monaco-auth/core
Installation
npm install @monaco-auth/core
Providers
GitHub
- Login URL:
/login/github
- Callback URL:
/login/github/callback
(e.g.https://example.com/login/github/callback
)
import { GitHubProvider } from "@monaco-auth/core/providers";
const githubProvider = new GitHubProvider(clientId, clientSecret);
- Login URL:
/login/google
- Callback URL:
/login/google/callback
(e.g.https://example.com/login/google/callback
)
import { GoogleProvider } from "@monaco-auth/core/providers";
const googleProvider = new GoogleProvider(clientId, clientSecret);