{
  "status": "success",
  "message": "RedirectUrl and authorization code fetched successfully",
  "data": {
    "redirectUrl": "google.com?authorization-code=W2H347C8D1VYISL919U4"
  }
}

URL

https://test-api.bvndle.com/api/v1/ufel/users/authorization/authorization-code?scope=profile

Base URL

https://test-api.bvndle.com/api/v1/ufel

HTTP Method

POST

Query Parameter:

nametypeDescription
deviceTypestringRequired
This is an optional query parameter that decides the type of redirectUrl that returns (either web or mobile). If it is absent, the value of the redirectUrl column returns

Enum: web or mobile
scopestringOptional
This is an optional query param that decides the user data that is returned from the resource server. scope can either be any combination of email, fullname, or profile
Default: profile

Request Body:

nametypeDescription
clientIdstringRequired
This is generated after the partner onboards on SSO. This is embedded in the device
tagstringRequired
Unique tag of user's choice
passwordstringRequired
Password must contain at least 8 characters, one uppercase, one number and one special case character.

cURL
curl --request POST
'https://test-api.bvndle.com/api/v1/ufel/users/authorization/authorization-code?scope=profile' \
--header 'Content-Type: application/json' \

{
    "clientId": "0e45faa1385f8b3e4f2912a9fe9fddd3937b4ae52782ca5b8d644915e58de2d7ec8bf68a9fa844234e4f79ee8afd116ee35f3a9ffc6ac2d92f0a71656a6f4853",
    "tag": "j.hope",
    "password": "P@ssword1"
}

{
  "status": "success",
  "message": "RedirectUrl and authorization code fetched successfully",
  "data": {
    "redirectUrl": "google.com?authorization-code=W2H347C8D1VYISL919U4"
  }
}