From eb720241da3d786c6ec79f2325277fa4af23846f Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Wed, 26 Feb 2025 13:04:55 +0100 Subject: [feature] Enforce OAuth token scopes (#3835) * move tokenauth to apiutil * enforce scopes * docs * update test models, remove deprecated "follow" * file header * tests * tweak scope matcher * simplify... * fix tests * log user out of settings panel in case of oauth error --- internal/api/client/push/pushsubscriptionput_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/api/client/push/pushsubscriptionput_test.go') diff --git a/internal/api/client/push/pushsubscriptionput_test.go b/internal/api/client/push/pushsubscriptionput_test.go index d9f0e395e..8b86add9e 100644 --- a/internal/api/client/push/pushsubscriptionput_test.go +++ b/internal/api/client/push/pushsubscriptionput_test.go @@ -170,7 +170,7 @@ func (suite *PushTestSuite) TestPutSubscriptionJSON() { func (suite *PushTestSuite) TestPutMissingSubscription() { accountFixtureName := "local_account_1" // This token should not have a subscription. - tokenFixtureName := "local_account_1_user_authorization_token" + tokenFixtureName := "local_account_1_push_only" alertsMention := true alertsStatus := false -- cgit v1.2.3