loginWithWebView
Description
We recommend using the standard native login or loginWithWeb. Proceed with caution while using this particular method for user authentication. |
Opens an insecure webview through the authorization endpoint:
-
If end-users have an active in-app SSO session, the authorization endpoint immediately redirects to the application.
The SSO session being within the webview itself.
-
If end-users do not have an active in-app SSO session, they are redirected to the client’s Login URL for authentication.
-
You must have configured a Login URL and enabled request orchestration tokens for your identity client.
Orchestrated flows are supported from version
1.24.0
for the Core SDK and version1.16.0
for the UI SDK.
Examples
client.loginWithWebView(
activity = this,
state = "state",
nonce = "nonce",
origin = "origin",
)
Response
Type: Unit
ReachFiveError
message |
The message of the error. |
||||||||||||||
getErrorCode() |
The error code’s enumeration value. |
||||||||||||||
code |
The HTTP status code or SDK error code. |
||||||||||||||
exception |
The stack trace of the error. |
||||||||||||||
data |
Additional data about the error.
|