Tito
KKinde
•Created by Chepe on 7/31/2024 in #💻┃support
React Native Expo-secure-storage
Also in your code the word
domain
is used to mean url
(i.e. including https://
) which is confusing21 replies
KKinde
•Created by Chepe on 7/31/2024 in #💻┃support
React Native Expo-secure-storage
I did make it work using the expo starter kit.
I sense that the problem with the
@kinde/expo
is that it doesn't define path
in
Maybe by redirecting back to myappscheme://
(instead of myappscheme:///redirect
), the app router doesn't trigger the authorization check or similar21 replies
KKinde
•Created by Chepe on 7/31/2024 in #💻┃support
React Native Expo-secure-storage
I am using a development build that I build with
eas build --platform android ...
21 replies
KKinde
•Created by Chepe on 7/31/2024 in #💻┃support
React Native Expo-secure-storage
Thank you. I manage to open the in-app browser and to login with a quick success message in the in-app browser. Then the errors are triggered when the in-app browser closes and it redirects to app.
21 replies
KKinde
•Created by yeswolf on 11/20/2024 in #💻┃support
unable to login using kinde on Android apk preview
I couldn't find any example or discussions about Kinde on Expo anywhere, let me know if you can connect me with anyone actually using this
118 replies
KKinde
•Created by Chepe on 7/31/2024 in #💻┃support
React Native Expo-secure-storage
Maybe it has to do with loads/reloads and state of the
<KindeAuthProvider>
component when it's redirected back? I don't know, I thought firebase auth was difficult in Expo, but in a few hours of fighting I got it to work21 replies
KKinde
•Created by yeswolf on 11/20/2024 in #💻┃support
unable to login using kinde on Android apk preview
I always get the same error
No discovery document
118 replies
KKinde
•Created by yeswolf on 11/20/2024 in #💻┃support
unable to login using kinde on Android apk preview
On the kinde dashboard I added these redirect urls:
118 replies
KKinde
•Created by yeswolf on 11/20/2024 in #💻┃support
unable to login using kinde on Android apk preview
My app.json for android already contained:
118 replies
KKinde
•Created by yeswolf on 11/20/2024 in #💻┃support
unable to login using kinde on Android apk preview
On the kinde dashboard I added
my-app-scheme://
but i don't know what my redirect urls should be. Should i add my-app-scheme://redirect
?
Anyway the login page would fail already without the urls added to the dashboard.118 replies
KKinde
•Created by yeswolf on 11/20/2024 in #💻┃support
unable to login using kinde on Android apk preview
I also tried it on a physical android device, but i have the same error. When the in-app browser closes after successfully loggin in, the app is not in an authorized state, the redirect doesn't work properly
118 replies
KKinde
•Created by yeswolf on 11/20/2024 in #💻┃support
unable to login using kinde on Android apk preview
Maybe the app doesn't pick up the intents correctly (no information in the expo docs about setting up app.json with android intents and ios equivalent), maybe the component should have some state check before loading the
<KindleAuthProvider>
component, ...118 replies
KKinde
•Created by yeswolf on 11/20/2024 in #💻┃support
unable to login using kinde on Android apk preview
Thanks. Is there a working minimal example with actual details (i.e. what should I add to the list of redirect URIs on Kinde?)?
It looks to me that errors in setup are caught when the app opens up the in-app browser. In my case, I can actually login in the in-app browser and receive a success message, but then the problem is when it is redirected back to the app.
118 replies
KKinde
•Created by Chepe on 7/31/2024 in #💻┃support
React Native Expo-secure-storage
i sense it might be related to the callback generated by
@kinde/expo
, which is simply appscheme://
. On the in-app browser, it does show a quick success message after logging in (both via email or social logins)21 replies
KKinde
•Created by Chepe on 7/31/2024 in #💻┃support
React Native Expo-secure-storage
using expo development builds
21 replies
KKinde
•Created by Chepe on 7/31/2024 in #💻┃support
React Native Expo-secure-storage
both android and ios on simulators
21 replies
KKinde
•Created by Chepe on 7/31/2024 in #💻┃support
React Native Expo-secure-storage
on ios simulator, it fails with
[Error: Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method). The authorization server MAY return an HTTP 401 (Unauthorized) status code to indicate which HTTP authentication schemes are supported. If the client attempted to authenticate via the "Authorization" request header field, the authorization server MUST respond with an HTTP 401 (Unauthorized) status code and include the "WWW-Authenticate" response header field matching the authentication scheme used by the client.
More info: Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method).]
21 replies
KKinde
•Created by yeswolf on 11/20/2024 in #💻┃support
unable to login using kinde on Android apk preview
It shows a quick success message `You are all signed in!" after signing in with email or social logins, but then it triggers the error above
118 replies
KKinde
•Created by yeswolf on 11/20/2024 in #💻┃support
unable to login using kinde on Android apk preview
I now managed to build an ios simulator version, it fails with the following error:
118 replies
KKinde
•Created by yeswolf on 11/20/2024 in #💻┃support
unable to login using kinde on Android apk preview
I wasn't able to build for ios, I think due to a mismatch in the version of
@expo/config-plugins
required by @kinde-oss/expo
:
118 replies