SkillAgentSearch skills...

2fa

Simple 2FA API service built on node-red

Install / Use

/learn @oleksm/2fa
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

2fa

Simple 2FA API service built on node-red

Screenshot

Assumes that secret is a base32 encoded string. Compatible with most 2FA providers as of today. Uses similar algorithm to what is in Google Authenticator or Authy apps.

API

  • GET /auth - fetches stored auths
  • POST /auth - creates auth. Accepts payload params:
    • secret - Your Authentication Key
    • key - Alias name for the Auth
    • desc - Some Description Text
  • GET /auth/:key - retrieves auth token by alias name

Docker Info

docker run -ti -p 1880:1880 aleksminaiev/2fa

Navigate: http://127.0.0.1:1880/ Swagger spec: http://127.0.0.1:1880/http-api/swagger.json

Docker hub: https://hub.docker.com/r/aleksminaiev/2fa/

Related Skills

View on GitHub
GitHub Stars6
CategoryDevelopment
Updated6y ago
Forks2

Languages

JavaScript

Security Score

75/100

Audited on Nov 3, 2019

No findings