View on Asset Store (opens in new tab)
Package details
- Latest version
- 3.0.1
- Last updated
- First released
- Unity version
- 2021.3.21 or later
- Package size
- 522 KB
- Files
- 20
- Favorites
- 18
- Views in the past week
- 16
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $0.99 on
Keywords
Web/SSO Authentication for Unity [iOS/macOS/iPadOS]
Web/SSO Authentication is a native iOS/iPadOS/macOS plugin that allows web authentication using ASWebAuthenticationSession and for iOS SFSafariViewController. SSO authentication support.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 6
Web/SSO Authentication for Unity [iOS/macOS/iPadOS] screenshot 1
About this asset
Web/SSO Authentication for Unity
Description
Web/SSO Authentication is a native iOS/iPadOS/macOS plugin that allows web authentication using ASWebAuthenticationSession and for iOS opening URLs with SFSafariViewController. SSO Authentication from different services.
- Supports ASWebAuthenticationSession to show web pages.
- SSO Authentication on iOS/iPadOS/macOS
- On iOS/iPadOS/macOS supports web-based authentication. Very important since many companies switch to this way of authentication to improve security.
- Await/Async support.
Reach out to our team for the custom integration or project development.
From the publisher's Asset Store listing.
Technical details
Usage
Add using NatieWebAuthenticaion;
ASWebAuthenticationSession available on iOS/iPadOS/macOS.
The plugin is easy to use: To use ASWebAuthenticationSession, simply import the package and call the function with parameters: the URL to open, scheme, prefersEphemeralWebBrowserSession, and Action callback with callbackUrl and error parameters. You need the backend to test the web authentication.
An example is available with web-based redirection to see the demo drop UnityAuthViewControllerDemo.prefab into the empty scene. Then build an iOS or MacOS project on your device.
To use SFSafariViewController, simply import the package and call the function with two parameters: the URL to open and Action with a redirect_url parameter.
SafariViewController is available on iOS/iPadOS.
UnitySafariViewController.PresentSafariViewControllerWithURL("https://example.com",(redirect_uri)=> { }); or var result = await UnitySafariViewController.PresentSafariViewControllerWithURLAsync("https://example.com);
An example is available with web-based redirection to see the demo drop UnitySafariViewControllerDemo.prefab into the empty scene. Then build an iOS project on your device.
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 6000.0.33f1 | Compatible | Compatible | Compatible | Compatible |
| 2022.3.42f1 | Compatible | Compatible | Compatible | Compatible |
| 2021.3.21f1 | Compatible | Compatible | Compatible | Compatible |
- ASWebAuthenticationSession works on iOS/iPadOS/macOS.
- SFSafariViewController is available on iOS only.
- Min iOS version set to 12 to support ASWebAuthenticationSession.
- Min Xcode version 14
- Min macOS version set to 10.15 to support ASWebAuthenticationSession.
- Await/Async support.
As listed on the Asset Store.