fyi.opensocial.approveAuthorization
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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | opensocial.fyi |
| Indexed |
Showing version bafyreicojq7vvau5snge4slrf7dzxzxpz3deama6yiydde5jqzuq24h7wa. Show the latest
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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": {
"maxLength": 512,
"type": "string"
}
},
"required": [
"requestUri",
"group"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"redirectUrl": {
"format": "uri",
"type": "string"
}
},
"required": [
"redirectUrl"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "fyi.opensocial.approveAuthorization",
"lexicon": 1
}