authcha learn

Learn / Guest and portals

Self-service guest and employee portals

Module 4 of 5 · 25 minutes

By the end you can

  • Explain the guest registration flow and the two approval modes
  • Configure the settings that limit who can register
  • Explain how employees register devices and certificates
  • Give employees the right advice about private Wi-Fi addresses

Two pages that save the front desk

Two self-service pages let people get onto the network without anyone issuing anything by hand. Both are off until you enable them under Guest Access → Portals → Settings.

  • Guest registration at /guest: visitors register with their name and email, confirm the address, and get a voucher code.
  • Employee devices at /byod: employees sign in with their work account, register their own phones and laptops, and can create their own certificate for 802.1X.

Guest registration

  1. The visitor opens https://<your-server>/guest. Your captive portal can send them there with ?mac=aa:bb:cc:dd:ee:ff to fill in the device for the last step.
  2. They enter name and email, accept the terms and choose Send me a link. The link works once and expires after one hour.
  3. When they open it, in automatic mode they get a voucher at once (also emailed), and in sponsor mode they are told someone will approve it. A sponsor or admin approves under Portals → Guest requests, and the code is emailed.
  4. The guest chooses Connect this device, which opens the redeem page with the code filled in.

Because the result is an ordinary voucher, everything from the vouchers module still holds: the class decides the VLAN and limits, the voucher expires by itself, and you can revoke it.

SettingMeaning
ApprovalAutomatic after the email check, or a sponsor decides
Device classWhere guests are placed
Access lasts, devices per guestValidity (up to 30 days) and number of devices (up to 5)
Only these email domainsRestrict registration, for example to a partner's staff
Never these email domainsBlock throwaway-mail providers
NotifyWho is emailed when a request is waiting (sponsor mode)
TermsText guests must accept

Guest registration needs working email under Settings → Integrations. Without it the page reports that it is unavailable, because it cannot confirm addresses.

Abuse protection

The page never reveals whether an address is known. Each address and each source address is rate-limited. The confirmation link is random, single-use and stored only as a hash. One request per address is live at a time. A hidden field catches simple bots. If you expect abuse, use sponsor mode or restrict the allowed domains.

Employee devices

  1. The employee opens https://<your-server>/byod and chooses Sign in, using Authcha's own sign-in page: passkey, or password and one-time code. Locked accounts and disabled user types cannot sign in.
  2. They add a device by its Wi-Fi MAC address, with an optional name. It is admitted by MAC bypass in the class you chose and listed under Network Access → Endpoints with the owner's name.
  3. If you allow certificates, they can create an EAP-TLS certificate: a .p12 file and a one-time password. The private key is not stored. They can revoke their own certificates.
SettingMeaning
Device classThe class registered devices get
Devices per personUp to 20
Registration expires afterOptional. Expired devices are switched off within a minute
Who can use itLimit to specific user types
CertificatesAllow self-service certificates, with lifetime, limit and class

Everything is scoped to the signed-in person: nobody can see or remove another person's devices or certificates, and a device an administrator already registered, or another person owns, cannot be claimed.

Activity and limits

Portals → Activity lists registrations, approvals, devices and certificates for 180 days. In this release guests cannot be sent a code by text message (email only), and the employee portal registers devices by MAC address but does not provision Wi-Fi profiles onto the device. The public demo cannot send email, so it shows the confirmation link on the page and turns certificates off.

LabHands-on

  1. Open Portals on the demo as demo-admin (password Authcha-Demo-2026) and look at the settings and activity.
  2. Open /guest on the demo host and register with a test address. Because the demo cannot send email, use the confirmation link it shows.
  3. Approve the request under Portals → Guest requests if the demo is in sponsor mode, and note the voucher that results.
  4. Open /byod and read the sign-in page. (On your install, sign in and register a phone's MAC.)
  5. On your install, restrict guest registration to one email domain and test that another domain is refused.

Check yourselfQuiz

1How long is the guest confirmation link valid?
2Which approval mode suits a site worried about abuse?
3Does the employee portal store the private key of a certificate it creates?
4Why should employees turn off private Wi-Fi address before registering?
5What does guest registration need that the portal cannot work without?

Cheat sheetKeep this

  • /guest (visitors) and /byod (employees). Both off until enabled under Guest Access → Portals → Settings.
  • Guest: name + email → single-use link (1 h) → voucher (automatic or sponsor-approved) → Connect this device.
  • Limits: guest voucher up to 30 days, 5 devices; employee 20 devices.
  • Abuse protection: no address reveal, rate limits, hashed single-use links, one live request per address, bot trap.
  • Employees: turn off private Wi-Fi address, or use 802.1X with a certificate.
  • Read more: Portals.