fyi.opensocial.approveAuthorization

lexicons.opensocial.fyi

Documentation

Approve an app's pending request to sign in as a group. The app gets what the caller's roles in the group allow and nothing more, and every token it obtains is recorded as the caller's. Returns the URL to send the browser back to the app with.

main procedure

Approve an app's pending request to sign in as a group. The app gets what the caller's roles in the group allow and nothing more, and every token it obtains is recorded as the caller's. Returns the URL to send the browser back to the app with.

Input

Encodingapplication/json
group stringdid Required

A decentralized identifier (DID).

requestUri string Required

No description available.

Output

Encodingapplication/json
redirectUrl stringuri Required

A valid URI.

Errors

ExpiredRequest
Forbidden
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "description": "Approve an app's pending request to sign in as a group. The app gets what the caller's roles in the group allow and nothing more, and every token it obtains is recorded as the caller's. Returns the URL to send the browser back to the app with.",
  "errors": [
    {
      "name": "ExpiredRequest"
    },
    {
      "name": "Forbidden"
    }
  ],
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "group": {
          "format": "did",
          "type": "string"
        },
        "requestUri": {
          "type": "string"
        }
      },
      "required": [
        "requestUri",
        "group"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "redirectUrl": {
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "redirectUrl"
      ],
      "type": "object"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@