https://github.com/nextauthjs/authjs-third-party-backend
This repo showcases how to connect third-party services to your Auth.js client, using an OAuth provider
https://github.com/nextauthjs/authjs-third-party-backend
Last synced: 11 months ago
JSON representation
This repo showcases how to connect third-party services to your Auth.js client, using an OAuth provider
- Host: GitHub
- URL: https://github.com/nextauthjs/authjs-third-party-backend
- Owner: nextauthjs
- Created: 2024-04-23T10:29:44.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-01T18:11:13.000Z (over 1 year ago)
- Last Synced: 2025-04-21T07:28:09.143Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://authjs-third-party-backend.vercel.app
- Size: 19.5 KB
- Stars: 19
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Auth.js 3rd Party Backend
Authentication for the Web.
This repo contains example code for third party backends to authenticate against.
## Getting Started
The guide for authenticating against third party backends can be found [here](https://authjs.dev/guides/integrating-third-party-backends).
## Frontend Example
You can find the frontend example of making authenticated requests to these backends in the `next-auth` example app.
- Code: [`apps/examples/nextjs/app/api/authenticated/greeting/route.tsx`](https://github.com/nextauthjs/next-auth/blob/main/apps/examples/nextjs/app/api/authenticated/greeting/route.tsx)
- Demo: https://next-auth-example.vercel.app/client-example
- Example PR: https://github.com/nextauthjs/next-auth/pull/10761/files
