Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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).

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.