Website and app sign-in
Your page shows a code, the person approves on their phone, and your server learns who it was. No passwords to store, leak or reset. Use the short API, or standard OpenID Connect with the libraries you already have.
How you set it up
- Create a project for the app Choose “A website or app”. Add the people who may sign in, with your own user id as their reference.
- Create an API key for your server A key with the sign-in scope stays on your server. The browser never sees it.
- Ask for a sign-in and show the code Your server asks Qravix for a sign-in request and shows the returned link as a QR code on the login page.
- Collect the answer When the person approves, your server collects who it was once, by your own reference, and starts its session.
What you can change
- Name and context The phone shows your app’s name and a short context such as the browser and city, so a person can spot a request they did not start.
- Lifetime of a request From 30 seconds to 5 minutes, two minutes by default. After that it can no longer be approved.
- Where it works Limit a sign-in to an area, so a person can be allowed on the shop but not the admin site.
- Standard OpenID Connect Point any OpenID Connect library at your project. Authorization code with PKCE, signed ID tokens, refresh tokens and sign-out.
- Who may sign in Pause or remove a person in the panel and every site stops letting them in at the next request.
Good to know
Try the whole flow without writing code: the panel has a sign-in page that plays the role of your site.