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: src/content/docs/developer-tools/sdks/native/flutter-sdk.mdx
+13-36Lines changed: 13 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,6 @@
1
1
---
2
2
page_id: 4ab29e69-2f16-43f6-9ad9-862408abcc2c
3
3
title: Flutter SDK
4
-
description: "Complete guide for Flutter SDK including authentication setup, Android/iOS configuration, PKCE flow, and mobile app integration for Flutter 3.10+ applications."
ai_summary: Complete guide for Flutter SDK including authentication setup, Android/iOS configuration, PKCE flow, and mobile app integration for Flutter 3.10+ applications.
40
13
---
41
14
42
15
The Kinde’s Flutter SDK allows developers to integrate Kinde Authentication into their Flutter projects. Integrate [Kinde](https://kinde.com/) authentication with your Flutter app. When you configure, register, log in, and log out, the authentication state is securely stored across app restarts.
@@ -151,13 +124,13 @@ Specify the custom scheme similar to the following but replace `<your_custom_sc
151
124
<string>Editor</string>
152
125
<key>CFBundleURLSchemes</key>
153
126
<array>
154
-
<string><your_custom_scheme>://</string>
127
+
<string><your_custom_scheme></string>
155
128
</array>
156
129
</dict>
157
130
</array>
158
131
```
159
132
160
-
**Note:**`<your_custom_scheme>` has been defined previously as [`myapp`](http://com.kinde.app/) You can define your own custom scheme to correspond to the app name.
133
+
**Note:**`<your_custom_scheme>` has been defined previously as [`com.kinde.app`](http://com.kinde.app/) You can define your own custom scheme to correspond to the package name.
161
134
162
135
## Set callback URLs
163
136
@@ -173,8 +146,8 @@ Replace the values you see in `<code brackets>` with your own values.
-**WebView authentication on mobile:** When using the Flutter SDK on mobile platforms (iOS/Android), users will need to authenticate separately when accessing content in in-app WebViews. This occurs because the SDK uses ephemeral web authentication sessions for security, which do not share authentication state with WebViews. Authentication tokens are stored in native secure storage (Keychain/KeyStore) and are not accessible to WebView contexts, which maintain separate cookie storage. For applications requiring seamless authentication between native and web contexts, contact [[email protected]](mailto:[email protected]) for guidance.
683
+
707
684
## SDK API Reference
708
685
709
686
### `authDomain`
@@ -846,7 +823,7 @@ Extract the provided claim from the provided token type in the current session,
846
823
847
824
```dart
848
825
claim: "string",
849
-
tokenKey?: TokenType "access_token" | "id_token
826
+
tokenKey?: TokenType "access_token" | "id_token"
850
827
```
851
828
852
829
**Usage:**
@@ -862,7 +839,7 @@ Returns the state of a given permission.
862
839
**Arguments:**
863
840
864
841
```dart
865
-
key: "string
842
+
key: "string"
866
843
```
867
844
868
845
**Usage:**
@@ -1049,7 +1026,7 @@ Get a string flag from the feature_flags claim of the `access_token`
0 commit comments