Skip to content

Commit 507385e

Browse files
committed
docs: Add examples section to README
1 parent 1f30898 commit 507385e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/payload-authjs/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,3 +503,9 @@ export const { handlers, signIn, signOut, auth } = NextAuth(
503503
}),
504504
);
505505
```
506+
507+
# 📓 Examples
508+
509+
- [Basic](https://github.com/CrawlerCode/payload-authjs/tree/main/examples/basic) - Basic example with GitHub provider
510+
- [With Payload local-strategy](https://github.com/CrawlerCode/payload-authjs/tree/main/examples/with-payload-local-strategy) - Example with GitHub provider and Payload [Local JWT Strategy](https://payloadcms.com/docs/authentication/jwt)
511+
- [Multiple Auth Collections](https://github.com/CrawlerCode/payload-authjs/tree/main/examples/multiple-auth-collections) - Example with multiple auth collections (`customers` for general users and `admins` for payload admin panel)

0 commit comments

Comments
 (0)