You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/advanced.md
+34-3Lines changed: 34 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ Passkeys provide a seamless, passwordless login experience using WebAuthn and pl
53
53
54
54
1.**iOS Version**: Ensure your project targets iOS 15 or later to support the necessary WebAuthn APIs.
55
55
2.**Android**: Use Android SDK 26+.
56
-
3.**Frontegg SDK Version**: Use Frontegg iOS SDK version 1.2.24 or later.
56
+
3.**Frontegg SDK Version**: Use Frontegg iOS SDK version 1.3.10 or later.
57
57
58
58
#### Android setup
59
59
@@ -63,7 +63,7 @@ Passkeys provide a seamless, passwordless login experience using WebAuthn and pl
63
63
```groovy
64
64
dependencies {
65
65
implementation 'androidx.browser:browser:1.8.0'
66
-
implementation 'com.frontegg.sdk:android:1.2.30'
66
+
implementation 'com.frontegg.sdk:android:1.3.34'
67
67
}
68
68
```
69
69
@@ -131,4 +131,35 @@ async function handleLoginWithPasskeys() {
131
131
console.error('Error logging in with Passkeys:', error);
132
132
}
133
133
}
134
-
```
134
+
```
135
+
136
+
## Admin Portal (Beta)
137
+
138
+
The Admin Portal is a hosted page that lets end users manage their account, profile, sessions, and tenant settings. The React Native SDK exposes `openAdminPortal()` which delegates to the native SDKs:
-**iOS** — presents `AdminPortalView` as a page sheet (`WKWebView`)
142
+
143
+
The portal loads `${baseUrl}/oauth/portal?appId=<applicationId>` and shares the SDK session, so authenticated users are not asked to sign in again.
144
+
145
+
> **Beta.** The API may change in future minor releases. Pin to an exact SDK version when embedding this in a shipping app.
146
+
147
+
### Multi-app prerequisite
148
+
149
+
For multi-app workspaces, configure `applicationId` in your native setup (see [Multi-app support](#multi-app-support)). Without `?appId=` the portal renders **"Application not found"** after sign-in.
console.error('Failed to open Admin Portal:', error);
161
+
}
162
+
}
163
+
```
164
+
165
+
The portal is dismissed when the user swipes down (iOS) or taps the built-in close button. On Android, `window.close()` finishes the activity automatically.
0 commit comments