agent-auth
Device Authorization
Changed onGet a browser approval link. Form: client_id=rmfg-agent and optional scope.
Poll the token endpoint at the returned interval using the device_code grant.
post/v1/oauth/device/code
Request
- Base URLhttps://api.rmfg.com
- URLhttps://api.rmfg.com/v1/oauth/device/code
- Authnone required
Request body application/x-www-form-urlencoded
Example request
{
"client_id": "rmfg-agent"
}Response
Show the approval link and code; poll the token endpoint at interval seconds.
Example response
{
"expires_in": 600,
"interval": 5
}Changes
- info
endpoint added
- info