OAuth tokens are revoked when the user revoke access to the OAuth app from the provider settings. Some OAuth providers also revoke OAuth tokens when the user changes password.
19 lines
671 B
JSON
19 lines
671 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n UPDATE oauth_handoffs\n SET\n status = 'authorized',\n error_code = NULL,\n user_id = $2,\n session_id = $3,\n app_code_hash = $4,\n encrypted_provider_tokens = $5,\n authorized_at = NOW()\n WHERE id = $1\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Left": [
|
|
"Uuid",
|
|
"Uuid",
|
|
"Uuid",
|
|
"Text",
|
|
"Text"
|
|
]
|
|
},
|
|
"nullable": []
|
|
},
|
|
"hash": "11eede7c3a324ffa6266ee5c3fe3fdb2bd3b9e894fcabeece1e8d2201d18dcc6"
|
|
}
|