@capgo/capacitor-social-login 0.0.39 → 0.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,13 +8,18 @@
|
|
|
8
8
|
|
|
9
9
|
All social logins in one plugin
|
|
10
10
|
|
|
11
|
-
WIP: Code is ready we ar now polishing documentation
|
|
12
|
-
|
|
13
11
|
This plugin implement social auth for:
|
|
14
12
|
- Google (with credential manager)
|
|
15
13
|
- Apple (with 0auth on android)
|
|
16
14
|
- Facebook ( with latest SDK)
|
|
17
15
|
|
|
16
|
+
We plan in the future to keep adding others social login and make this plugin the all in one solution.
|
|
17
|
+
|
|
18
|
+
FAQ:
|
|
19
|
+
|
|
20
|
+
- Do we support web login?
|
|
21
|
+
=> Not yet but PR are welcome, our focus is the native part for now as any Web sdk will work for web
|
|
22
|
+
|
|
18
23
|
## Install
|
|
19
24
|
|
|
20
25
|
```bash
|
|
@@ -207,7 +212,9 @@ Directly call the `initialize` method with the `google` provider
|
|
|
207
212
|
```typescript
|
|
208
213
|
await SocialLogin.initialize({
|
|
209
214
|
google: {
|
|
210
|
-
|
|
215
|
+
webClientId: 'your-client-id', // the web client id for Android and Web
|
|
216
|
+
iOSClientId: 'your-client-id', // the iOS client id
|
|
217
|
+
iOSServerClientId: 'your-server-client-id', // the iOS server client id (optional)
|
|
211
218
|
},
|
|
212
219
|
});
|
|
213
220
|
const res = await SocialLogin.login({
|