https://github.com/marudhupandiyang/rtn-gauth
https://github.com/marudhupandiyang/rtn-gauth
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/marudhupandiyang/rtn-gauth
- Owner: marudhupandiyang
- License: mit
- Created: 2024-10-21T11:07:25.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-10-24T10:15:51.000Z (7 months ago)
- Last Synced: 2024-10-25T17:13:00.344Z (7 months ago)
- Language: TypeScript
- Size: 3.59 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RTNGauth
## Common Setup
- Install package
npm install github:marudhupandiyang/rtn-gauth#main
- Import in your Javascript as shown below
import { GoogleSignin } from 'rtn-gauth';
- Call it in the place your require using
const res = await GoogleSignin.signIn();
console.log('result from res', res);## iOS Configuration
- Follow the instructions from here -> https://developers.google.com/identity/sign-in/ios/sign-in#objective-c
- set GIDClient
- Set URL Types as described in the link above
- modify AppDelegate.mm as described in the doc.
- You can ignore all server and server token related items.## Android Configuration
- NO EXPLICT CONFIGURATION REQUIRED
- Sign in is impletemented using Credential Manager.
- Read this guide for more information -> https://developer.android.com/identity/sign-in/credential-manager