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 bafyreiamtavlmfhqw6wpsojq6hicsasglnbl5qssaqjwiplm5kqnofw6yu. Show the latest
Checks
Validunlimited-stringdefs.main.input.schema.properties.requestUriNo maxLength, maxGraphemes or format limits this string.
{
"$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": {
"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
}