Added fixes for public workflows with app visuals

This commit is contained in:
frikky
2022-01-31 12:22:37 +01:00
parent cc2610c2cb
commit a811036fb2
5 changed files with 337 additions and 88 deletions
+4
View File
@@ -114,6 +114,10 @@ const AuthenticationOauth2 = (props) => {
setButtonClicked(true);
console.log("SCOPES: ", scopes);
client_id = client_id.trim()
client_secret = client_secret.trim()
oauth_url = oauth_url.trim()
var resources = "";
if (scopes !== undefined && (scopes !== null) & (scopes.length > 0)) {
if (offlineAccess === true && !scopes.includes("offline_access")) {