From b32441f89b50bb37619f9f73842b071dc2ac6715 Mon Sep 17 00:00:00 2001 From: Marcus Eide Date: Thu, 4 Jun 2020 11:07:46 +0200 Subject: [PATCH] Use post for logout --- plugins/auth-backend/src/providers/factories.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/auth-backend/src/providers/factories.ts b/plugins/auth-backend/src/providers/factories.ts index f7560174ef..8576e36096 100644 --- a/plugins/auth-backend/src/providers/factories.ts +++ b/plugins/auth-backend/src/providers/factories.ts @@ -42,7 +42,7 @@ export const createAuthProviderRouter = (config: AuthProviderConfig) => { router.get('/start', provider.start.bind(provider)); router.get('/handler/frame', provider.frameHandler.bind(provider)); router.post('/handler/frame', provider.frameHandler.bind(provider)); - router.get('/logout', provider.logout.bind(provider)); + router.post('/logout', provider.logout.bind(provider)); if (provider.refresh) { router.get('/refresh', provider.refresh.bind(provider)); }