Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

homecentr/e2e

Repository files navigation

End-to-end tests

Creating test users

  • Go to Azure AD portal
  • Create a new user with a temporary password
  • Use the username and password to sign into https://myaccount.microsoft.com in an incognito window
  • Chnage user's password to a secure one
  • In My Account portal go to Security info and Add sign-in method then select Authenticator app
  • Select I want to use a different authenticator app and click next
  • When presented with a QR code, click Can't scan image? button and copy the Secret key
  • Generate the code using the code below
import { authenticator } from 'otplib';

console.log(authenticator.generate('<SECRET>'))

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published