Per User Oauth
Submit Virtual Key identity
Validates the submitted Virtual Key and links it to the pending flow as the user's identity. On success, redirects to the MCPs page. On failure, redirects back to the identity page with an error message.
Request body is application/x-www-form-urlencoded (browser form submission).
AuthorizationBearer <token>
Bearer token authentication. Use your MPilot virtual-key JWT or admin JWT.
Virtual keys (prefixed with sk-bf-) can also be passed here.
In: header
flow_idstring
Pending flow ID
vkstring
Virtual Key value (validated against the database)
Response Body
curl -X POST "https://loading/{AI_GATEWAY_URL}/api/oauth/per-user/consent/vk" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'flow_id=string&vk=string'Empty