supabase auth with provider
Hi , I am using Supbase as a db and the Authentication . For the Auth part I would like to use login with linkedin . I created a button and added an onclick event to link to h t t p s : / / <my _url > .supabase .co /auth /v1 /authorize ?provider =linkedin _oidc &redirect _to = h t t p s : / / <my _url > .supabase .co /auth /v1 /callback . When I click on the button I am redirected to the linkedin login page and once I sign in an account is created in the users table in my supabase DB . Questions : 1 . Once the user successfully logins in with Supabase they are redirected to http://localhost:3000/#access_token= <XXXXXXX > . How do I bring the user back to the toddle app ? 2 . How do I extract the access _token from the call back url ? 3 . Is adding this as an API the recommended approach ? Based on the tutorials it is easier to extract the access token from the API response Thank you ✅1I could show you a full example later (ie tomorrow ) I made a loom showing how I do social login with a popup https://www.loom.com/share/bf6108b677c14df994a934c039a10112?sid=76b0f515-e13b-40ba-9bc1-9d7724bf74e1