-
-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: oauth flow via customer apps #102
feat: oauth flow via customer apps #102
Conversation
This PR was not deployed automatically as @hvinder does not have access to the Railway project. In order to get automatic PR deploys, please add @hvinder to the project inside the project settings page. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
034936b
to
153e0f5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍🏼
@@ -29,11 +29,7 @@ class ConnectionService { | |||
const { 'x-revert-api-token': token } = req.headers; | |||
const connections: any = await prisma.connections.findMany({ | |||
where: { | |||
account: { | |||
is: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hvinder This is a bug. We'd need to use the private token here instead for comparison instead of the public token.
* add scope to connections and api to fetch scopes * Use db scopes for oauth * Use db scopes for sdk functions * Add scopes to metadata api * Use client app id, if available * Create apps table * revert revert-dev * revert revert-dev * Create default app for all accounts
* add scope to connections and api to fetch scopes * Use db scopes for oauth * Use db scopes for sdk functions * Add scopes to metadata api * Use client app id, if available * Create apps table * revert revert-dev * revert revert-dev * Create default app for all accounts
* add scope to connections and api to fetch scopes * Use db scopes for oauth * Use db scopes for sdk functions * Add scopes to metadata api * Use client app id, if available * Create apps table * revert revert-dev * revert revert-dev * Create default app for all accounts
* feat: oauth flow via customer apps (#102) * add scope to connections and api to fetch scopes * Use db scopes for oauth * Use db scopes for sdk functions * Add scopes to metadata api * Use client app id, if available * Create apps table * revert revert-dev * revert revert-dev * Create default app for all accounts * hotfix (#112) * chore: capture remaining exceptions * Toggle to switch revert app * Fix * Change subtext font size
fixes #90, #91