From 8fa81f591c18038113229f0e1792cd0977c0c7eb Mon Sep 17 00:00:00 2001 From: Rita Zerrizuela Date: Fri, 23 Feb 2024 12:42:27 +0000 Subject: [PATCH] Improve the alt description of images --- FAQ.md | 6 +++--- README.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/FAQ.md b/FAQ.md index 2a107462..5df77a08 100644 --- a/FAQ.md +++ b/FAQ.md @@ -13,7 +13,7 @@ ## 1. How can I disable the _login_ alert box? -![sso-alert](https://user-images.githubusercontent.com/5055789/198689762-8f3459a7-fdde-4c14-a13b-68933ef675e6.png) +![Screenshot of the SSO alert box](https://user-images.githubusercontent.com/5055789/198689762-8f3459a7-fdde-4c14-a13b-68933ef675e6.png) Under the hood, Auth0.swift uses `ASWebAuthenticationSession` by default to perform web-based authentication, which is the [API provided by Apple](https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsession) for such purpose. @@ -65,7 +65,7 @@ If you choose to use the `SFSafariViewController` Web Auth provider, you need to In Xcode, go to the **Info** tab of your app target settings. In the **URL Types** section, click the **+** button to add a new entry. There, enter `auth0` into the **Identifier** field and `$(PRODUCT_BUNDLE_IDENTIFIER)` into the **URL Schemes** field. -![url-scheme](https://user-images.githubusercontent.com/5055789/198689930-15f12179-15df-437e-ba50-dec26dbfb21f.png) +![Screenshot of the URL Types section inside the app target settings](https://user-images.githubusercontent.com/5055789/198689930-15f12179-15df-437e-ba50-dec26dbfb21f.png) This registers your bundle identifier as a custom URL scheme, so the callback URL can reach your app. @@ -111,7 +111,7 @@ SomeView() ## 2. How can I disable the _logout_ alert box? -![sso-alert](https://user-images.githubusercontent.com/5055789/198689762-8f3459a7-fdde-4c14-a13b-68933ef675e6.png) +![Screenshot of the SSO alert box](https://user-images.githubusercontent.com/5055789/198689762-8f3459a7-fdde-4c14-a13b-68933ef675e6.png) Since `clearSession(federated:)` needs to use `ASWebAuthenticationSession` as well to clear the shared session cookie, the same alert box will be displayed. diff --git a/README.md b/README.md index bfd335a8..1bcbc009 100644 --- a/README.md +++ b/README.md @@ -173,7 +173,7 @@ com.example.MyApp://example.us.auth0.com/ios/com.example.MyApp/callback Scroll to the end of the settings page of your Auth0 application and open **Advanced Settings > Device Settings**. In the **iOS** section, set **Team ID** to [your Apple Team ID](https://developer.apple.com/help/account/manage-your-team/locate-your-team-id/), and **App ID** to your app's bundle identifier. -![device-settings](https://github.com/auth0/Auth0.swift/assets/5055789/7eb5f6a2-7cc7-4c70-acf3-633fd72dc506) +![Screenshot of the iOS section inside the Auth0 application settings](https://github.com/auth0/Auth0.swift/assets/5055789/7eb5f6a2-7cc7-4c70-acf3-633fd72dc506) This will add your app to your Auth0 tenant's `apple-app-site-association` file. @@ -181,7 +181,7 @@ This will add your app to your Auth0 tenant's `apple-app-site-association` file. In Xcode, go to the **Signing and Capabilities** [tab](https://developer.apple.com/documentation/xcode/adding-capabilities-to-your-app#Add-a-capability) of your app target settings, and press the **+ Capability** button. Then select **Associated Domains**. -![capabilities](https://github.com/auth0/Auth0.swift/assets/5055789/3f7b0a70-c36c-46bf-9441-29f98724204a) +![Screenshot of the capabilities library inside Xcode](https://github.com/auth0/Auth0.swift/assets/5055789/3f7b0a70-c36c-46bf-9441-29f98724204a) Next, add the following [entry](https://developer.apple.com/documentation/xcode/configuring-an-associated-domain#Define-a-service-and-its-associated-domain) under **Associated Domains**: @@ -315,7 +315,7 @@ Auth0 ### SSO alert box (iOS / macOS) -![sso-alert](https://user-images.githubusercontent.com/5055789/198689762-8f3459a7-fdde-4c14-a13b-68933ef675e6.png) +![Screenshot of the SSO alert box](https://user-images.githubusercontent.com/5055789/198689762-8f3459a7-fdde-4c14-a13b-68933ef675e6.png) Check the [FAQ](FAQ.md) for more information about the alert box that pops up **by default** when using Web Auth.