DecaneDocs
Get startedApp setup
Get started

App setup

The identity tier needs no entitlements or Info.plist keys: sign-in by code or token and signing work in any app. The settings below are for the device tier and redirect sign-in, which arrive in the next release; setting them up now means nothing changes later.

Passkeys

  • Set rpId to a domain you control.
  • Add webcredentials:<rpId> to the app’s Associated Domains entitlement.
  • Serve /.well-known/apple-app-site-association listing your app under webcredentials. The origin the backend sees is https://<rpId>.

Biometrics

Add NSFaceIDUsageDescription to Info.plist.

Google and X redirect sign-in

  • Set redirectURI, for example myapp://auth.
  • Register that exact URL as the API key’s callback URL in the dashboard, first in the list: a native app sends no Origin, so it gets the first.
  • Declare the scheme under CFBundleURLTypes.