Skip to content

Commit 5d5cc49

Browse files
authored
chore: Add client id for google in the example app server (#62)
* Add client id when initialising SuperTokens on the backend * Update CHANGELOG * Reset api domain * Use supertokens version of size-limit-action
1 parent d8e6720 commit 5d5cc49

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/size-limit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ jobs:
99
CI_JOB_NUMBER: 1
1010
steps:
1111
- uses: actions/checkout@v1
12-
- uses: porcellus/size-limit-action@feature/continue_on_base_branch_error
12+
- uses: supertokens/size-limit-action@feature/continue_on_base_branch_error
1313
with:
1414
github_token: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [unreleased]
88

9+
### Changes
10+
11+
- Adds client id when initialising Google in the example app server
12+
913
## [3.1.0] - 2022-03-24
1014
- Adds FDI 1.14 in FDI array support
1115
- Checks for GENERAL_ERROR status in signout API response and if it's there, we throw an error.

examples/with-thirdpartyemailpassword/server/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ supertokens.init({
3030
For Google we use react-native-app-auth to fetch the access_token from Google servers directly
3131
and then send that to the /auth/signinup API to fetch user information and create a session.
3232
33-
Because of this flow, we do not need to provide the clientId and secret when initialising the Google
33+
Because of this flow, we do not need to provide the clientSecret when initialising the Google
3434
third party provider
3535
*/
3636
Google({
37-
clientId: "",
37+
clientId: "1060725074195-c7mgk8p0h27c4428prfuo3lg7ould5o7.apps.googleusercontent.com",
3838
clientSecret: ""
3939
}),
4040
Github({

0 commit comments

Comments
 (0)