Ways to authenticate
Auth and access
You can bring your own custom sign up and sign in pages to use with Kinde. Integrate your own designs for the initial sign up and sign in page, and still get the security of Kinde’s auth (and verification) process.
This gives you the best of both worlds: the security of hosted auth, and the ability to customize the sign-up experience for your users.
If you only allow users to sign up and sign in with social authentication - such as Google or Apple - then you can achieve a headless-type experience.
Users sign up or sign in from your custom screen, then get pushed straight through to the social provider’s account selection screen. For example:
If you allow email sign up and sign in, the initial Kinde screen can be bypassed, but the Kinde code verification screen will still appear before sign in is completed.
When a user signs up (say, via email), they do this in fields on your custom sign in screen. Then for verification, they see Kinde’s verification code screen. After that, it’s all you again.
This feature lets you to bypass Kinde’s initial sign in screens, but the following screens are still hosted by Kinde and are part of our secure auth experience.
Each authentication type you have set up in Kinde has a unique Connection ID attached to it. You need to add this connection ID to your screen design code, so that the Kinde screens get bypassed when users interact.
There are different steps depending on the authentication method you use. Update your code for all that apply.
Add the connection_id
to the auth url. Here is an example using React:
You can now test if it works by signing in to your project or app.
Add the connection_id
and login_hint
params to the auth url.
The login_hint
enables you to pre-populate the email for the user, skipping the step where they have to enter their identity/email. It also tells us where to send their one time password for passwordless verification.
Here is an example using React.
You can now test if it works by signing in to your project or app.
Add connection_id
and login_hint
params to the auth url.
The login_hint
enables you to pre-populate the phone for the user, skipping the step where they have to enter their phone number. It also tells us where to send their one time password for passwordless verification.
The login_hint
needs to be in one of these formats phone:<intl_number>:<country_code>
or phone:<+intl_number>:<country_code>
. The ‘+’ symbol is optional, as long as the country code is included.
Here is an example using React:
You can now test if it works by signing in to your project or app.
Add the connection_id
to the auth url. This takes the user directly to the enterprise authentication process. Here is an example using React: