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)
- Better latency, error analysis navigation/overview HOT 5
- [ Enhance ] Status Report Endpoint to Support Additional Params and Return Neccessary Details
- Test endpoint does not work on already existing endpont
- footer links take up full width (may or may not be intended) HOT 2
- Badge might not look sharp HOT 8
- [docs] - fix readme.md typo (plateform -> platform)
- Handle Follow redirect
- Fix NextAuth type
- Add context to login page when invited to a workspace
- Tests are flaky
- [DEV-MODE]: Resend `callbackUrl` when inviting a new member (for testing)
- Fix biome-ignore
- Incident with a single region are not properly auto resolved
- Can not checkout the project on windows HOT 3
- [docs] Improved contribution.md HOT 1
- Create thresholds response time limits for 'degraded' and 'failed'
- [docs] Remove Trigger.dev from home page HOT 1
- if there's an open incident we should make it more obvious in the dashboard
- Improve Error Handling (incl. toast notifications)
- Display current open incident related to an monitor in the monitor overview page
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.