-
Notifications
You must be signed in to change notification settings - Fork 9
Redirect URI services
Ken Williamson edited this page Jan 19, 2020
·
2 revisions
Method: POST
URL: http://localhost:3000/rs/clientRedirectUri/add
Request headers Example:
Content-Type = application/json
Authorization = bearer jwttokenFromGoAuth2
clientId = 10
userId = tester (when using Auth code, Implicit, or Password tokens)
Request Body Example:
{
"uri":"www.ulboralabs.com",
"clientId":616
}
Response:
{
"success": true,
"id": 34
}
Method: GET
URL: http://localhost:3000/rs/clientRedirectUri/list/677
677 = clientId
Request headers Example:
Authorization = bearer jwttokenFromGoAuth2
clientId = 10
userId = tester (when using Auth code, Implicit, or Password tokens)
Response:
[
{
"id": 829,
"uri": "http://localhost:8091/tokenHandler",
"clientId": 677
},
{
"id": 830,
"uri": "http://localhost:8090/admin/token",
"clientId": 677
},
{
"id": 831,
"uri": "http://localhost:8092/tokenImplicitHandler",
"clientId": 677
},
{
"id": 833,
"uri": "http://www.google.com",
"clientId": 677
}
]
Method: DELETE
URL: http://localhost:3000/rs/clientRedirectUri/delete/510
510 = id
Request headers Example:
Authorization = bearer jwttokenFromGoAuth2
clientId = 10
userId = tester (when using Auth code, Implicit, or Password tokens)
Response:
{
"success": true
}
GoAuth2 is maintained by Ulbora Labs LLC and others.