Tito
Tito
KKinde
Created by Tito on 2/25/2025 in #💻┃support
How to show signup page with expo-starter-kit?
I found the issue! You should pass prompt: "create" to AuthRequest (not register, not signup). From the expo sdk I found a reference to a PromptTypes type in js-utils:
export enum PromptTypes {
none = "none",
create = "create",
login = "login",
}
export enum PromptTypes {
none = "none",
create = "create",
login = "login",
}
20 replies
KKinde
Created by Tito on 2/25/2025 in #💻┃support
How to show signup page with expo-starter-kit?
or in other words, what am I supposed to pass to new AuthRequest to get the right url m:register
20 replies
KKinde
Created by Tito on 2/25/2025 in #💻┃support
How to show signup page with expo-starter-kit?
Changing the mapLoginMethodParamsForUrl won't do anything, you see that I commented it out and passed the prompt directly, still doesn't work
20 replies
KKinde
Created by Tito on 2/25/2025 in #💻┃support
How to show signup page with expo-starter-kit?
It looks to me that the prompt parameter is simply ignored when passed to
const request = new AuthRequest({
clientId: process.env.EXPO_PUBLIC_KINDE_CLIENT_ID!,
redirectUri,
scopes: ['openid','profile','email','offline'],
responseType: "code",
// prompt: options.prompt,
extraParams: {
has_success_page: "true",
// prompt: options.prompt,
prompt: "register"
// ...mapLoginMethodParamsForUrl(options)
},
});
const request = new AuthRequest({
clientId: process.env.EXPO_PUBLIC_KINDE_CLIENT_ID!,
redirectUri,
scopes: ['openid','profile','email','offline'],
responseType: "code",
// prompt: options.prompt,
extraParams: {
has_success_page: "true",
// prompt: options.prompt,
prompt: "register"
// ...mapLoginMethodParamsForUrl(options)
},
});
20 replies
KKinde
Created by Tito on 2/25/2025 in #💻┃support
How to show signup page with expo-starter-kit?
I see that the URL being opened is with both login and signup is https://streckenheld.kinde.com/auth/cx/_:nav&m:login&psid:019570278efe85f5f2c1c5b0e3d82c5b in order to register, the url should be https://streckenheld.kinde.com/auth/cx/_:nav&m:register&psid:019570278efe85f5f2c1c5b0e3d82c5b Might it be that there is confusion in mapLoginMethodParamsForUrl between prompt: "signup" (that sends to m:login) and prompt: "register" (which gives an error instead of sending to m:register which would solve the problem)?
20 replies
KKinde
Created by Tito on 2/25/2025 in #💻┃support
How to show signup page with expo-starter-kit?
Is there any way to open the "signup" page rather than the "login" page as expected? I have the Apple app store release stuck on this error (they click on signup button with prompt: "signup" but the signup fails on "account doesn't exist")
20 replies
KKinde
Created by Tito on 2/25/2025 in #💻┃support
How to show signup page with expo-starter-kit?
For example, if I create an user passing their email as identity using the Kinde Management API (https://docs.kinde.com/kinde-apis/management/#tag/users/post/api/v1/user), will it trigger the OTP email?
20 replies
KKinde
Created by Tito on 2/25/2025 in #💻┃support
How to show signup page with expo-starter-kit?
I will build the email field in the app (for "magic link" signup) and just link to social logins. Would you guide me to the right API to use to signup. Is this the Kinde Management API that I would call from the server? or is there a call I can make from the app directly passing the email?
20 replies
KKinde
Created by Tito on 2/25/2025 in #💻┃support
<appname> Wants to Use "kinde.com" to Sign In popup in ios expo
THanks. Do native require enterprise or not? i.e. what plan do I need to do token exchange and would you point me to the relevant github example with native flows?
7 replies
KKinde
Created by Tito on 2/25/2025 in #💻┃support
How to show signup page with expo-starter-kit?
streckenheld.kinde.com is my endpoint
20 replies
KKinde
Created by Tito on 2/25/2025 in #💻┃support
How to show signup page with expo-starter-kit?
i don't know what a custom authorization URL is, i am running something very close to the expo-starter-kit
20 replies
KKinde
Created by Tito on 2/25/2025 in #💻┃support
<appname> Wants to Use "kinde.com" to Sign In popup in ios expo
Isn't a native flow with google/apple + token exchange later via api an option? Does that require an enterprise plan?
7 replies
KKinde
Created by Tito on 2/25/2025 in #💻┃support
How to show signup page with expo-starter-kit?
If I use prompt: "signup", it still goes to the same login page. If I use prompt: "register", it shows an error on the landing page.
20 replies
KKinde
Created by Tito on 2/25/2025 in #💻┃support
<appname> Wants to Use "kinde.com" to Sign In popup in ios expo
Is there a way to show our own domain name instead of kinde.com (which our customers wouldn't necessarily know)?
7 replies
KKinde
Created by Tito on 2/25/2025 in #💻┃support
How to show signup page with expo-starter-kit?
This is all i am using (basically taking from expo-starter-kit):
"@kinde/js-utils": "^0.7.1",
"@kinde/jwt-validator": "^0.4.0",
"expo-auth-session": "~6.0.3",
"expo-web-browser": "~14.0.2",
"@kinde/js-utils": "^0.7.1",
"@kinde/jwt-validator": "^0.4.0",
"expo-auth-session": "~6.0.3",
"expo-web-browser": "~14.0.2",
React Native SDK didn't work for me on expo (i think due to encrypted storage conflict in expo) and the expo sdk isn't really functional yet and didn't work for me.
20 replies
KKinde
Created by Tito on 2/15/2025 in #💻┃support
Gateway timeout for Management API
i had 504 gateway time out errors for about an hour and then it solved itself
5 replies
KKinde
Created by Tito on 2/3/2025 in #💻┃support
Authenticating API calls with Kinde
Thank you, it works now. Notice that in https://github.com/kinde-oss/management-api-js, you should change the docs in Configuration KINDE_DOMAIN e.g. https://mybusiness.kinde.com as the https:// is required. I would call it KINDE_URL.
61 replies
KKinde
Created by Tito on 2/3/2025 in #💻┃support
Authenticating API calls with Kinde
Actually I had to revert it back because there is a chain reaction of other Next packages that can't be imported any more. I can't import management-api-js because it creates some sort of confusion between ES module and CommonJS module.
61 replies
KKinde
Created by Tito on 2/3/2025 in #💻┃support
Authenticating API calls with Kinde
But the issue is still that Module '"@kinde/management-api-js"' has no exported member 'Users'.
61 replies
KKinde
Created by Tito on 2/3/2025 in #💻┃support
Authenticating API calls with Kinde
i also had to add "type": "module" to package.json
61 replies