Skip to content

First sign-in & first steps

With OkYouIn installed, this page takes you from the first sign-in to a first working, MFA-protected sign-in. Each step links to the page that covers it in depth.

  1. Open https://<your server>/ in a browser (or https://<your server>:<port>/ if you changed the HTTPS port). Until you install a certificate, the console serves a temporary self-signed one: the browser warning is expected.

  2. Sign in with the administrator’s username and the generated password the installer showed you.

  3. Choose a new password. OkYouIn asks for it at once.

If you lost the generated password, read it again on the server with sudo grep '^INITIAL_ADMIN_' /opt/okyouin/.env (appliance) or from .env in the bundle directory — and delete the INITIAL_ADMIN_PASSWORD line once you have signed in. If it no longer works, see Access recovery.

Open Settings ▸ System ▸ General and set the public URL of the server — the https:// address people and phones open, for example https://mfa.example.com. E-mail links, Web Push, and the OIDC and SAML endpoints are all built on it. Check address tests from the server that the name resolves, leads to this OkYouIn and presents a matching certificate.

On the same page, the HTTPS certificate card replaces the self-signed certificate: Upload certificate (PEM files or PKCS#12) or Create CSR and upload what your CA issues. The web server picks it up within seconds, no restart needed. Phones need a trusted certificate for Web Push. Details: TLS certificate management.

On Settings ▸ Integrations ▸ Email, enter your SMTP relay. OkYouIn sends enrolment links, e-mail codes and Approve/Deny links, and alert notifications through it.

To use your existing accounts, add your directory on Settings ▸ Integrations ▸ LDAP: Active Directory, OpenLDAP, FreeIPA, Google Workspace Secure LDAP, a generic LDAP server, or Microsoft Entra ID. OkYouIn synchronises users and groups on a schedule and checks LDAP passwords against the directory. See Directories.

You can also start with local users under Infrastructure ▸ Identity ▸ Users.

Every device or service that signs users in through OkYouIn is an application. On Access ▸ Applications, click Add application and pick a template — a VPN gateway or network device over RADIUS, a web application over OIDC or SAML, your own back end over the Verify API, or Windows logon. The wizard asks only what the template needs and shows the settings to enter on the other side.

For a RADIUS device, the server listens on UDP 1812 (authentication) and 1813 (accounting); Access ▸ Settings ▸ RADIUS shows the ports. See Applications and the device guides.

The global policy decides who may use which application. Its last rule, the Default rule, denies, so a new application refuses everyone until a rule allows it. On Access ▸ Policies ▸ Policy Table, Add Rule that allows your application for the right groups (and, if you like, source networks, countries and times). Rules are evaluated top to bottom; the first match wins.

The Policy Tester on the same menu shows how a sign-in would be decided, rule by rule, before you try it for real. See Global policy and Policy tester.

Choose which methods your users may use on Settings ▸ System ▸ MFA Settings — TOTP, e-mail, Telegram, Web Push. Then enroll:

  • yourself, on My account ▸ Two-factor authentication ▸ Set up;
  • your users, by sending them a setup link from their user page, or letting them enroll themselves.

See MFA.

Sign in through the application — connect the VPN, open the web application — and watch the decision appear in Logging ▸ Access log: user, application, client, country, result and the reason. A denied attempt names the rule or check that refused it.

  • Back up the master key. Copy secrets/master_key off the server, apart from the backups. Without it no backup can be restored.
  • Check backups. Settings ▸ System ▸ Backup & Recovery: scheduled backups are on by default (every 24 hours, the last 5 kept). Copy archives off the host regularly — see Backup & restore.
  • Restrict RADIUS (UDP 1812/1813) to your devices on the firewall.
  • Forward logs to your SIEM and configure alert e-mails — Logs, SIEM & alerts.
  • Check the license. A new installation runs a 60-day trial — Licensing & trial.