This is part 3 in the PocketBase series. In this video I show how to create a project in Google developer console, configure your consent screen, and create and configure your credentials for using OAuth2. I then show how to setup PocketBase to allow OAuth2 using Google. The last part of this video is show hows to setup SvelteKit. In that part of the process, I show to to send a pocketbase instance through locals, how to setup your form action to put together the relevant pieces of information together (saving some to cookies for additional checks), and then sending the redirect to Google with the required information. Lastly, I show how to setup your receiving route to take the request from Google and pull out the relevant pieces to do some validations, and then package it up to be sent to PocketBase to create a user! This was awesome to put together! I hope that you find this helpful!
My channel membership is live check it out here!:
/ @consultingninja
Membership perk video:
• I launched a chatbot with my channel membe...
Need help? visit https://www.consultingninja.tech
Check out my channel @ConsultingNinja for more videos like these.
Requirements when using Google Sign in Docs:
https://developers.google.com/identit...
Source Code Available Here:
https://github.com/consultingninja/pb...
PocketBase CRUD App Video (Part 2) Here:
• Create a CRUD App with PocketBase and Svel...
PocketBase Overview & Setup Video (Part 1) Here:
• PocketBase | what it is | how to run it | ...
PocketBase Docs:
https://pocketbase.io/docs/
PocketBase JavaScript SDK:
https://github.com/pocketbase/js-sdk