Skip to content

Commit aa1322d

Browse files
authored
chore(docs): add README.md
1 parent c52cf3a commit aa1322d

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<p align="center">
2+
<br/>
3+
<a href="https://authjs.dev" target="_blank"><img width="150px" src="https://authjs.dev/img/logo-sm.png" /></a>
4+
<h3 align="center">Auth.js 3rd Party Backend</a></h3>
5+
<h4 align="center">Authentication for the Web.</h4>
6+
<p align="center" style="align: center;">
7+
<a href="https://npm.im/next-auth">
8+
<img src="https://img.shields.io/badge/TypeScript-blue?style=flat-square" alt="TypeScript" />
9+
</a>
10+
<a href="https://npm.im/@auth/sveltekit">
11+
<img alt="npm" src="https://img.shields.io/npm/v/next-auth?color=green&label=next-auth&style=flat-square">
12+
</a>
13+
<a href="https://www.npmtrends.com/next-auth">
14+
<img src="https://img.shields.io/npm/dm/next-auth?label=%20downloads&style=flat-square" alt="Downloads" />
15+
</a>
16+
<a href="https://github.com/nextauthjs/next-auth/stargazers">
17+
<img src="https://img.shields.io/github/stars/nextauthjs/next-auth?style=flat-square" alt="Github Stars" />
18+
</a>
19+
</p>
20+
</p>
21+
22+
This repo contains example code for third party backends to authenticate against.
23+
24+
## Getting Started
25+
26+
The guide for authenticating against third party backends can be found [here](https://authjs.dev/guides/integrating-third-party-backends).
27+
28+
## Frontend Example
29+
30+
You can find the frontend example of making authenticated requests to these backends in the `next-auth` example app.
31+
- 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)
32+
- Demo: https://next-auth-example.vercel.app/client-example
33+
- Example PR: https://github.com/nextauthjs/next-auth/pull/10761/files
34+

0 commit comments

Comments
 (0)