Sigil

Developer guide

Native apps

Open the system browser for sign-in and return through your registered HTTPS link.

Register a public client

Choose the public app type. Use a claimed HTTPS app link on a domain you control as the callback. Sigil’s public registration uses exact HTTPS URLs.

Use the system browser

Keep state, nonce, and the PKCE verifier with the initiating app session. On return, validate state, exchange the code with the verifier and client ID, and verify the issuer and ID token. Keep long-lived tokens in the platform’s secure storage.

For a browser app that cannot protect a client secret, use a backend for your application session. Keep confidential secrets on servers.

Sign-in guide · OAuth for native apps