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. Sign in
Section titled “1. Sign in”-
Open
https://<your server>/in a browser (orhttps://<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. -
Sign in with the administrator’s username and the generated password the installer showed you.
-
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.
2. Set the public URL
Section titled “2. Set the public URL”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.
3. Install your TLS certificate
Section titled “3. Install your TLS 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.
4. Set up e-mail
Section titled “4. Set up e-mail”On Settings ▸ Integrations ▸ Email, enter your SMTP relay. OkYouIn sends enrolment links, e-mail codes and Approve/Deny links, and alert notifications through it.
5. Connect a directory (optional)
Section titled “5. Connect a directory (optional)”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.
6. Add your first application
Section titled “6. Add your first application”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.
7. Allow it in the policy
Section titled “7. Allow it in the policy”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.
8. Enroll a second factor
Section titled “8. Enroll a second factor”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.
9. Try a sign-in
Section titled “9. Try a sign-in”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.
Before you go to production
Section titled “Before you go to production”- Back up the master key. Copy
secrets/master_keyoff 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.