Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sonyarianto/pocketbase-oauth2-demo
Demo of OAuth2 in Pocketbase (by creating Sign-in with Google example).
https://github.com/sonyarianto/pocketbase-oauth2-demo
javascript oauth2 pocketbase svelte
Last synced: 27 days ago
JSON representation
Demo of OAuth2 in Pocketbase (by creating Sign-in with Google example).
- Host: GitHub
- URL: https://github.com/sonyarianto/pocketbase-oauth2-demo
- Owner: sonyarianto
- License: mit
- Created: 2023-08-09T02:43:43.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-09T03:40:04.000Z (about 1 year ago)
- Last Synced: 2023-08-09T04:42:54.679Z (about 1 year ago)
- Topics: javascript, oauth2, pocketbase, svelte
- Language: CSS
- Homepage: https://pocketbase-oauth2-demo.vercel.app
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Pocketbase OAuth2 Demo (Sign-in with Google)
Quick and practical demo of doing OAuth2 on Pocketbase. This demo will use Google OAuth2 infrastructure to create "Sign-in with Google" functionality and use Pocketbase as database to store the user data when succesfully signed-in with Google.
## Technical notes
- Run `npm install` to install dependencies.
- I already have setup Pocketbase infrastructure in https://api.buka.sh/v2. Want to setup nice Pocketbase infra on your server? Just contact me for consultation.
- I already create Google credential for this demo. You can create one at https://console.developers.google.com/apis/credentials.
- The main code to do that is on `https://github.com/sonyarianto/pocketbase-oauth2-demo/blob/main/src/App.svelte`.## License
MIT
Maintained by Sony Arianto Kurniawan <> and contributors.