Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return the TOTP certificate for machine during machine creation (POST /machine) #12

Open
flaviostutz opened this issue Mar 21, 2020 · 0 comments
Assignees

Comments

@flaviostutz
Copy link
Member

flaviostutz commented Mar 21, 2020

This TOTP will be challenged for all tokens generation not in machine creation and without a refresh token. The TOTP challenge is used on client side, where there is no Refresh Token and TOTP is required each X minutes.

Accounts POST /machine
OUT machineId
OUT machinePort=23433

OUT token=BBCCCHHH3333
OUT id=ABC123

OUT totpKey=AAABBB (issue #12 for this, may not be present)
OUT machinePort=23433
OUT accessToken=AABBCC33225
OUT refreshToken=EAEJRHEG

accessToken:
scope: machine-ABC123 remoteFw-127.0.0.1:23433

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants