Skip to content

Commit deb937d

Browse files
committed
Updates ORY Hydra Swagger definitions
1 parent 484dc6b commit deb937d

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

apis/hydra.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,6 +1191,34 @@
11911191
}
11921192
}
11931193
},
1194+
"/oauth2/auth/sessions/login/revoke": {
1195+
"get": {
1196+
"description": "This endpoint deletes ths user's login session cookie and redirects the browser to the url\nlisted in `LOGOUT_REDIRECT_URL` environment variable. This endpoint does not work as an API but has to\nbe called from the user's browser.",
1197+
"produces": [
1198+
"application/json"
1199+
],
1200+
"schemes": [
1201+
"http",
1202+
"https"
1203+
],
1204+
"tags": [
1205+
"oAuth2"
1206+
],
1207+
"summary": "Logs user out by deleting the session cookie",
1208+
"operationId": "revokeUserLoginCookie",
1209+
"responses": {
1210+
"302": {
1211+
"$ref": "#/responses/emptyResponse"
1212+
},
1213+
"404": {
1214+
"$ref": "#/responses/genericError"
1215+
},
1216+
"500": {
1217+
"$ref": "#/responses/genericError"
1218+
}
1219+
}
1220+
}
1221+
},
11941222
"/oauth2/auth/sessions/login/{user}": {
11951223
"delete": {
11961224
"description": "This endpoint invalidates a user's authentication session. After revoking the authentication session, the user\nhas to re-authenticate at ORY Hydra. This endpoint does not invalidate any tokens.",

0 commit comments

Comments
 (0)