wilson
wilson
KKinde
Created by wilson on 5/17/2024 in #💻┃support
Building Google non-Drive apps using Kinde
so that’s probably the key point is i used the pkce flow instead of implicit
10 replies
KKinde
Created by wilson on 5/17/2024 in #💻┃support
Building Google non-Drive apps using Kinde
yeah totally, supabase is a great model to follow. basically i ended up using their exchangeCodeForSession method on my server side. it automatically sets the cookie for the supabase auth session, and lets me persist the refresh token on my server side before continuing the user auth flow. so it goes my app --> google auth --> supabase -pkce-> my app server -save session and token-> my app
10 replies
KKinde
Created by wilson on 5/17/2024 in #💻┃support
Building Google non-Drive apps using Kinde
i’ll integrate with anything you let me! other than those maybe outlook/onedrive? i ended up using supabase for the hack project because i got to intercept the auth callback and store the refresh tokens and do whatever i wanted with them - is that something you’d consider exposing in kinde?
10 replies
KKinde
Created by wilson on 5/17/2024 in #💻┃support
Building Google non-Drive apps using Kinde
well as a start, i am building an app that reads your incoming email and applies labels based on some rules you define using LLMs. so i would use kinde to sign in with google, then use the access token to read email for notion and airtable it would be connecting their account to interact with their pages and databases
10 replies