labbsr0x / convid-accounts-backend

Accounts microservice for Convid remote access solution. This microservice handles Accounts and Machine registrations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generate Access Token by validating TOTP challenge and if the machine is active

flaviostutz opened this issue · comments

Accounts POST /machine/ABC123/token
IN totp
OUT machinePort=23433

OUT token=BBCCCHHH3333

TOKEN=

  • scope: machine-ABC123 localFw-127.0.0.1:23433

When TOTP is used only localFw is enabled because it is mean't to be used by the client side

@flaviostutz we will use an external oauth2 solution like hydra or develop this mechanism at this project?