Skip to content

Commit

Permalink
chore: Update Example app (#57)
Browse files Browse the repository at this point in the history
* Add example app with-thirdparty

* Update README

* Update example app
  • Loading branch information
nkshah2 authored Nov 17, 2023
1 parent dd6dac2 commit 3cb0002
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
8 changes: 0 additions & 8 deletions examples/with-thirdparty/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
- Add supertokens
- Add google sign in
- Update info plist, also add web client id
- Call sign in
- Get id token
- Call ST API
- URL Protocol for github login

# SuperTokens Example App

## Add dependencies
Expand Down
2 changes: 1 addition & 1 deletion examples/with-thirdparty/backend/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const SuperTokensConfig: TypeInput = {
},
appInfo: {
appName: "SuperTokens Demo App",
apiDomain: "http://192.168.1.102:3001",
apiDomain: "http://192.168.29.87:3001",
websiteDomain: "http://localhost:3000", // this value does not matter for the android app
},
// recipeList contains all the modules that you want to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class LoginScreenViewController: UIViewController {
"thirdPartyId": "github",
"redirectURIInfo": [
// For native flows we do not have a redirect uri
"redirectURIOnProviderDashboard": "com.supertokens.supertokensexample://oauthredirect",
"redirectURIOnProviderDashboard": "",
"redirectURIQueryParams": [
"code": authCode
],
Expand Down

0 comments on commit 3cb0002

Please sign in to comment.