Skip to content

Commit

Permalink
Update OAuth.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Thebloxers998 authored Nov 16, 2024
1 parent f8ddbf5 commit 7b8c443
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions extensions/OAuth.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// License: MPL-2.0
(function (Scratch) {
'use strict';

if (!Scratch.extensions.unsandboxed) {
throw new Error('This extension must run unsandboxed');
}
let clientId = '';
let clientSecret = '';
let redirectUri = '';
Expand Down Expand Up @@ -132,8 +134,7 @@
text: 'Give Feedback'
}
],
menus: {},
unrestricted: true // Enable unsandboxed mode
menus: {}
};
}

Expand Down

0 comments on commit 7b8c443

Please sign in to comment.