From 04b38768f32ebb37fc301cf69547e470e707ad5c Mon Sep 17 00:00:00 2001 From: undefined Date: Thu, 9 May 2024 11:36:11 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20synced=20local=20'README.md'=20w?= =?UTF-8?q?ith=20remote=20'README.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 83ea33d..084096f 100644 --- a/README.md +++ b/README.md @@ -57,3 +57,17 @@ $ brew ![image](readme_images/screenshot_4.png) - Set the `endPoint` in the `ContentView.swift` - Set the `appId` in the `ContentView.swift` + +5. (Optional) SSO configs setup + - If you want to use SSO for test , please change the flag `addSSOSignInView` value to *true* in the `w3s_ios_sample_app_walletsApp.swift` + ![image](readme_images/screenshot_5.png) + + Just set up the SSO you want to use below: + - [Apple] Update the App's Bundle Identifier to yours + ![image](readme_images/screenshot_6.png) + - [Google] Update `Info.plist` file to add your OAuth client ID and a custom URL scheme based on the reversed client ID. + Reference: [Get started with Google Sign-In for iOS](https://developers.google.com/identity/sign-in/ios/start-integrating#configure_app_project) + ![image](readme_images/screenshot_7.png) + - [Facebook] Replace the *APP-ID*, *CLIENT-TOKEN* and *APP-NAME* of `Info.plist` with your Facebook application configurations. + Reference: [Facebook Login for iOS - Quickstart](https://developers.facebook.com/docs/facebook-login/ios/#4--configure-your-project) + ![image](readme_images/screenshot_8.png)