Go to developer

Getting Started

Choose Your Integration

You do not need to understand KEYRA internals to pick a path. Start from the outcome you want.

On this page

What are you building?

OAuth Verify

  • What it does: Starts KEYRA passwordless authentication (PKCE + authorization code), then validates the result on your server.
  • When to use it: You want KEYRA as the primary authentication experience (hosted login / paste script / web SDK).
  • Where verification happens: KEYRA hosted verification UI; your backend validates tokens / verify responses.
  • Required backend? Yes for secure validation. Browser starts the flow with publishable credentials only.
  • Recommended SDK: Browser @keyra/web-sdk or paste script https://auth.keyra.ie/sdk/keyra-oauth.js; server @keyra/typescript-sdk / Java server helpers.

OAuth Quickstart →

Partner 2FA

  • What it does: Enrolls a KEYRA verification factor for your existing users and runs step-up approval (challenge) at login.
  • When to use it: You already authenticate users and need stronger second-factor verification.
  • Where verification happens: User device (challenge approval); your backend drives enrollment/auth APIs.
  • Required backend? Yes — secret credentials must stay server-side.
  • Recommended SDK: @keyra/typescript-sdk or ie.keyra:keyra-java-sdk. Browser partner flows use @keyra/web-sdk only through a backend proxy (no secrets in the browser).

Partner 2FA Quickstart →

Quick comparison

QuestionOAuth VerifyPartner 2FA
Existing authentication?Optional — KEYRA can be primaryYes — keep it
Browser involvementStarts hosted verify with cp_*Challenge UI only (no secrets)
Backend responsibilityValidate result / tokens + create sessionDrive enroll/auth APIs + consume result
Secrets in browser?NeverNever
Primary credentialsPublishable clientId (cp_*) in browser; server validationprojectId + secret clientId/clientSecret
Recommended usePasswordless primary authStep-up / second factor
SDKs@keyra/web-sdk + server SDK / paste script@keyra/typescript-sdk, Java, Web via proxy
API hosthttps://auth.keyra.ie