https://github.com/logto-io/js
  
  
    🤓 Build authentication and authorization with Logto JS SDKs. 
    https://github.com/logto-io/js
  
authentication authorization javascript jwt logto mfa multi-tenant oauth2 oidc saml sdk sso typescript
        Last synced: 7 months ago 
        JSON representation
    
🤓 Build authentication and authorization with Logto JS SDKs.
- Host: GitHub
- URL: https://github.com/logto-io/js
- Owner: logto-io
- License: mit
- Created: 2021-06-27T11:36:49.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-03-25T15:11:03.000Z (7 months ago)
- Last Synced: 2025-03-28T22:07:21.999Z (7 months ago)
- Topics: authentication, authorization, javascript, jwt, logto, mfa, multi-tenant, oauth2, oidc, saml, sdk, sso, typescript
- Language: TypeScript
- Homepage: https://docs.logto.io/quick-starts/
- Size: 5.33 MB
- Stars: 82
- Watchers: 7
- Forks: 50
- Open Issues: 26
- 
            Metadata Files:
            - Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
 
Awesome Lists containing this project
README
          
  
       
  
  
  Logto is an open-source Auth0 alternative designed for modern apps and SaaS products.
# Logto JavaScript SDKs
The monorepo for SDKs and working samples written in JavaScript (Well, mostly in TypeScript).
## Products
| Name                                             | Description                                              |
| ------------------------------------------------ | -------------------------------------------------------- |
| [browser](./packages/browser/)                   | Logto browser foundation SDK.                            |
| [capacitor](./packages/capacitor/)               | Logto Capacitor SDK built on top of browser foundations. |
| [chrome-extension](./packages/chrome-extension/) | Logto Chrome extension SDK.                              |
| [client](./packages/client/)                     | Logto JavaScript cross-platform foundation client.       |
| [express](./packages/express/)                   | Logto Express SDK built on top of node foundations.      |
| [js](./packages/js/)                             | Logto JavaScript core.                                   |
| [next](./packages/next/)                         | Logto Next.js SDK built on top of node foundations.      |
| [node](./packages/node/)                         | Logto node foundation SDK.                               |
| [nuxt](./packages/nuxt/)                         | Logto Nuxt 3 SDK built on top of node foundations.       |
| [react](./packages/react/)                       | Logto React SDK built on top of browser foundations.     |
| [remix](./packages/remix/)                       | Logto Remix SDK built on top of node foundations.        |
| [vue](./packages/vue/)                           | Logto Vue SDK built on top of browser foundations.       |
| [sveltekit](./packages/sveltekit/)               | Logto SvelteKit SDK built on top of node foundations.    |
## Samples
| Name                                                                 | Description                                                              |
| -------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| [angular-sample](./packages/angular-sample/)                         | A sample of using `angular-auth-oidc-client` to integrate with Logto.    |
| [browser-sample](./packages/browser-sample/)                         | A sample of using Logto browser SDK.                                     |
| [chrome-extension-sample](./packages/chrome-extension-sample/)       | A sample Chrome extension that demonstrates how to integrate Logto.      |
| [express-sample](./packages/express-sample/)                         | A sample of using Logto Express SDK.                                     |
| [next-app-dir-sample](./packages/next-app-dir-sample/)               | A sample of using Logto Next.js SDK for Next.js app directory structure. |
| [next-sample](./packages/next-sample/)                               | A sample of using Logto Next.js SDK.                                     |
| [next-server-actions-sample](./packages/next-server-actions-sample/) | A sample of using Logto Next.js SDK for server actions.                  |
| [passportjs-sample](./packages/passportjs-sample/)                   | A sample of using Logto with Passport.js.                                |
| [react-sample](./packages/react-sample/)                             | A sample of using Logto React SDK.                                       |
| [svetlekit-sample](./packages/sveltekit-sample/)                     | A sample of using Logto SvelteKit SDK.                                   |
| [vue-sample](./packages/vue-sample/)                                 | A sample of using Logto Vue SDK.                                         |
## Resources
[](https://logto.io/)
[](https://docs.logto.io/)
[](https://discord.gg/UEPaF3j5e6)