Skip to content

Commit 1addcac

Browse files
Merge pull request #486 from ashar-aala/added-flutter-android-scheme-info
Updated custom scheme for flutter user. Reviewed and comments addressed.
2 parents b78fe24 + ad2b07d commit 1addcac

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/content/docs/developer-tools/sdks/native/flutter-sdk.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ KINDE_AUDIENCE=<your_kinde_audience>
110110
```bash
111111
KINDE_AUTH_DOMAIN=https://myapp.kinde.com
112112
KINDE_AUTH_CLIENT_ID=clientid
113-
KINDE_LOGIN_REDIRECT_URI=com.kinde.myapp://kinde_callback
114-
KINDE_LOGOUT_REDIRECT_URI=com.kinde.myapp://kinde_logoutcallback
113+
KINDE_LOGIN_REDIRECT_URI=myapp://kinde_callback
114+
KINDE_LOGOUT_REDIRECT_URI=myapp://kinde_logoutcallback
115115
KINDE_AUDIENCE=myapp.kinde.com/api
116116
```
117117

@@ -151,13 +151,13 @@ Specify the custom scheme similar to the following but replace `<your_custom_sc
151151
<string>Editor</string>
152152
<key>CFBundleURLSchemes</key>
153153
<array>
154-
<string><your_custom_scheme></string>
154+
<string><your_custom_scheme>://</string>
155155
</array>
156156
</dict>
157157
</array>
158158
```
159159

160-
**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.
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.
161161

162162
## Set callback URLs
163163

@@ -173,8 +173,8 @@ Replace the values you see in `<code brackets>` with your own values.
173173
- Allowed logout redirect URLs: `<your_custom_scheme>://kinde_logoutcallback`
174174

175175
```dart
176-
loginRedirectUri: com.kinde.myapp://kinde_callback,
177-
logoutRedirectUri: com.kinde.myapp://kinde_logoutcallback,
176+
loginRedirectUri: myapp://kinde_callback,
177+
logoutRedirectUri: myapp://kinde_logoutcallback,
178178
```
179179

180180
5. Select **Save**.

0 commit comments

Comments
 (0)