Skip to content Skip to footer

Two-factor authentication for SSO

Setting up two-factor authentication for the AGH SSO

Important

From 16 November 2026, two-factor authentication (2FA) will be compulsory for students. If 2FA has not yet been enabled, the system will prompt you to set it up the first time you log in to the AGH SSO.

The recommended method is to use a TOTP app. This is a universal solution, allowing you to authenticate regardless of the device you use to log in to AGH services.

The WebAuthn method (biometrics, PIN code) is tied to the device on which it has been set up; we therefore suggest using it solely as an alternative login method, whilst retaining the OTP app as the primary 2FA method. If WebAuthn is the only authentication method, it will not be possible to log in on other devices, such as laboratory computers.

The order in which you set up two-factor authentication is also important. The OTP app should be set up first; if you wish to use the WebAuthn method, you must log out of SSO, log in again, and only then set up the second factor.

In order to improve the security of your account and its data, we recommend you to set up two-factor authentication for services using the AGH SSO.

Important

We strongly suggest setting up more than one two-factor authentication method, e.g., an OTP app and a Yubikey.

It will protect you from losing access to the AGH systems in case of losing your phone.

If you cannot set up any other 2FA method, you must create a back-up copy of your OTP app credentials. Details here.

If you do not do that, you will have to visit the IT Solutions Centre with your personal ID card to regain access to the AGH systems.

There are two different two-factor authentication methods available:

  • a mobile app that generates time-based one-time passwords (TOTP),
  • WEBAUTHN (using a physical "Yubikey" key).
  1. Log in at sso.agh.edu.pl using your AGH e-mail credentials (Logging into AGH SSO).
  1. After clicking on the "Connected as <e-mail address>" link, choose "2ndFA Manager" from the drop-down menu.
  1. Choose the verification method you'd like to configure:
  • OTP app,
  • physical key - WEBAUTHN.

TOTP - mobile app authentication

TOTP (Time-based one-time password) is the fastest and most popular authentication method, which is available for both Android and iOS. Those kinds of apps read QR codes or 32-digit access keys.

The IT Solutions Centre recommends using 2FA Authenticator (2FAS), a free 2FA app available in Google Play and App Store.

  1. Download the app dedicated to your operational system.

get it on Google Play

Download on the App Store

  1. Select the "OTP APP" tile in SSO.
  1. Open the 2FAS app you have installed earlier and go through the tutorial by pressing "Continue". To add an account, press the "+" button (located in the top right or bottom right corner, depending on the device) or the "Pair new service" button.

  1. The app might ask for access to your camera – allow it by selecting "OK".
  1. Scan the QR code or enter the 32-character key into the app. Both the QR code and the key will be displayed in the AGH SSO after selecting the OTP APP in the 2FA Manager.
  1. Enter the 6-digit code generated in the app and click "Register".

Attention

You can only add one TOTP app to your account.

  1. The mobile app has been paired with your AGH SSO account and two-factor authentication has been enabled.

Attention

We recommend that you back up your credentials. In the 2FAS application, you can do this in 2 ways:

  1. Cloud backup – this is enabled by default. The backup automatically saves to your Google or iCloud account. If you accidentally delete the app from your device or lose access to your phone, your paired services data is automatically restored when you reinstall it.
  2. Export data to file – you can also export the backup to a file, which you can then import to another device. To do this, click on "Settings" -> "2FAS backup" and select "Export/Export to file". The file will be saved in the phone's memory.

WEBAUTHN - physical key

You can also use a physical key (e.g., Yubikey) as a second factor for authentication into AGH SSO.

  1. Choose the "WEBAUTHN" option in the 2ndFA Manager.
  1. Enter the name for your physical key so it is easily recognizable and press "Register".
  1. Insert the physical key into the USB port and make sure that the "Security key setup" pop-up displays "sso.agh.edu.pl" as the service you are trying to add your physical key to. Press "OK".
  1. You may be prompted to set up a PIN code for your physical key – enter it. Then you will receive a prompt to press the Yubikey button to connect the device with the AGH SSO. Hold and press the button for about 3 seconds.
  1. Your Yubikey has been paired with your AGH SSO account and configured as a second factor for authentication.

  2. You can view the list of your 2ndFA devices by selecting "2ndFA Manager".

Stopka