Skip to content

Commit ef1b18b

Browse files
authored
Corrections in docs
A couple mistakes in the docs that I tracked down in terms of keys and values for credentials.
1 parent 8db8b50 commit ef1b18b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/api/authentication.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ Sign in the user with a 3rd party credential provider. `credential` requires the
100100

101101
```javascript
102102
const credential = {
103-
provider: 'facebook',
104-
token: '12345',
105-
secret: '6789',
103+
provider: 'facebook.com',
104+
accessToken: '12345',
105+
//secret: '6789', //'secret' does not apply to facebook authentication
106106
};
107107

108108
firestack.auth().signInWithCredential(credential)

0 commit comments

Comments
 (0)