Complete plugin oauth authorization
Completes the flow. Anonymous: the provider redirects the browser here with no session of ours
GET /plugins/{id}/oauth/callback
note
SDK method: completePluginOAuthAuthorization
Security: public
Attributes
Attributes (6)
| Attribute | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Path parameter. |
code | string | No | |
error | string | No | |
state | string | No | |
token | string | No | What a desktop-style flow returns instead of code: the provider mints a token before theconsent screen and hands the same one back, which the plugin exchanges for a session. Last.fm's auth works this way. Listed here because the route parses this query strictly, so an undeclared parameter is a 400 before any plugin code runs |
ubi | string | No |
Response
200 OK — Returns a PluginOAuthResult object.