Skip to content

Commit ad2b07d

Browse files
authored
Updated custom scheme name for flutter user
1 parent 0daf6ee commit ad2b07d

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
@@ -83,8 +83,8 @@ KINDE_AUDIENCE=<your_kinde_audience>
8383
```bash
8484
KINDE_AUTH_DOMAIN=https://myapp.kinde.com
8585
KINDE_AUTH_CLIENT_ID=clientid
86-
KINDE_LOGIN_REDIRECT_URI=com.kinde.myapp://kinde_callback
87-
KINDE_LOGOUT_REDIRECT_URI=com.kinde.myapp://kinde_logoutcallback
86+
KINDE_LOGIN_REDIRECT_URI=myapp://kinde_callback
87+
KINDE_LOGOUT_REDIRECT_URI=myapp://kinde_logoutcallback
8888
KINDE_AUDIENCE=myapp.kinde.com/api
8989
```
9090

@@ -124,13 +124,13 @@ Specify the custom scheme similar to the following but replace `<your_custom_sc
124124
<string>Editor</string>
125125
<key>CFBundleURLSchemes</key>
126126
<array>
127-
<string><your_custom_scheme></string>
127+
<string><your_custom_scheme>://</string>
128128
</array>
129129
</dict>
130130
</array>
131131
```
132132

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.
133+
**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.
134134

135135
## Set callback URLs
136136

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

148148
```dart
149-
loginRedirectUri: com.kinde.myapp://kinde_callback,
150-
logoutRedirectUri: com.kinde.myapp://kinde_logoutcallback,
149+
loginRedirectUri: myapp://kinde_callback,
150+
logoutRedirectUri: myapp://kinde_logoutcallback,
151151
```
152152

153153
5. Select **Save**.

0 commit comments

Comments
 (0)