Comments (2)
A simple database structure would be using 3 db tables:
- User (required by Lucia)
- Session (required by Lucia)
- OAuth accounts
The OAuth account table would look something like this:
field | type | description |
---|---|---|
id | any | |
user_id | string | the user linked to the account |
provider_id | string | "github" or "google" |
provider_user_id | string | GitHub or Google user ID |
So from Clerk, you need to export the user data and all OAuth providers linked to each user.
For OAuth, we recommend using Arctic to handle the callback.
from openstatus.
As for setting up Lucia, we have a Drizzle adapter and the docs have Next.js specific guides
from openstatus.
Related Issues (20)
- Make sur the API return or accept the date in ISO 8601 format
- The API should return the proper error status code HOT 2
- Add notifications in the API server HOT 2
- Add status page endpoint for the API HOT 7
- API key creation does not work anymore HOT 1
- Create custom badge for status page or monitor
- Update to next14 ⬆️ HOT 2
- Add RSS feed to changelogs HOT 3
- Prometheus endpoint
- Custom assertion for checker
- Create CRON monitor
- Make it possible to group monitor by group
- Embeddable monitor charts
- Monitor Core Web Vitals (RUM)
- Add `severity` to status report
- Pager duty integration
- [ Enhance ] Get All Reports Endpoint on Server Side
- RSS feed for blog HOT 3
- On monitors page hide region if no data.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openstatus.