Skip to main content

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)
AttributeTypeRequiredDescription
idstringYesPath parameter.
codestringNo
errorstringNo
statestringNo
tokenstringNoWhat a desktop-style flow returns instead of code: the provider mints a token before the
consent 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
ubistringNo

Response

200 OK — Returns a PluginOAuthResult object.