authUrlParams?: { [x: string]: string; };
This is blocking for me as for my use case I'll have my own form for signin upDo you want your own UI for sign-in and sign-up?
How would I set the user's given_name, last_name, profile, id within the kinde user object ?If you want to have your UI where the user enters their
given_name
and last_name
, you achieve this by either having:given_name
and last_name
and then you call Kinde auth register URL, you then add the given_name
and last_name
to the user via the Update User API callgiven_name
and last_name
, which is added to the user via the Update User API callHow would I set the user's given_name, last_name, profile, id within the kinde user object ?"profile" - what do you mean by "profile" here?
authUrlParams
in a way that both known properties (like connection_id
) and custom properties can be utilized effectively. Here's how you can define it:authUrlParams?: { [x: string]: string; connection_id?: string; };
connection_id
property and still have the flexibility to add custom properties as needed:authUrlParams["custom_thing"] = "bleh"; authUrlParams.connection_id = "abc";
authUrlParams={{ connection_id: "MY_CON_ID", given_name: getValues("givenName"), family_name: getValues("familyName"), login_hint: getValues("email"), }}
react-hook-form
to build your formLoginLink
directly as a button in your form, use a regular submit button within your form.onSubmit
handler, after successful validation by react-hook-form
, programmatically trigger the login process. Since LoginLink
is designed for a different use case (redirecting without form submission), you might need to use the login method provided by Kinde's React SDK to programmatically initiate the login process based on the validated form data.given_name
and family_name
in the auth URL request.given_name
and family_name
properties in the Auth URL request.given_name
and family_name
properties in the Auth URL request has sparked an internal conversation on how to best approach this.given_name
and family_name
properties in the Auth URL request."/api/auth/login?connection_id=conn_MYCONID&login_hint=${values.email}&post_login_redirect_url=/"
const apiClient = await createKindeManagementAPIClient();
And it works fine. I'd have another question tho. I tried to useLet me get back to you on this.
const apiClient = await createKindeManagementAPIClient();
KindeManagementAPI to give my users roles. But can't find the correct method to use.
orga + roles for both (client role / orga and provider role / orga).Are you able to explain this more?
providers
and clients
.provider
or client
to be assigned to be assigned a specified role?provider
or client
?