Skip to content

Commit

Permalink
Revert "fix: Link the OAuth consumer to the Fensak Add-on"
Browse files Browse the repository at this point in the history
This reverts commit 8d8e53a.

Signed-off-by: Yoriyasu Yano <430092+yorinasub17@users.noreply.github.com>
  • Loading branch information
yorinasub17 committed Nov 2, 2023
1 parent 8d8e53a commit 0a8409b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
3 changes: 0 additions & 3 deletions config/custom-environment-variables.json5
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,4 @@
},
apiToken: "FENSAK_GITHUB_TOKEN",
},
bitbucket: {
oauthConsumerID: "FENSAK_BITBUCKET_OAUTH_CONSUMER_ID",
}
}
8 changes: 0 additions & 8 deletions config/default.json5
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,4 @@
// the GitHub app configurations are used).
apiToken: "",
},

/**
* Settings/Secrets related to interacting with BitBucket.
*/
bitbucket: {
// The OAuth consumer ID to link to the BitBucket Add-on.
oauthConsumerID: "",
}
}
4 changes: 0 additions & 4 deletions web/atlassian_connect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { getBitBucketAppKey } from "../bbstd/mod.ts";
const appEnv = config.get("env");
const appURL = config.get("appURL");
const dashboardAppURL = config.get("dashboardAppURL");
const oauthConsumerID = config.get("bitbucket.oauthConsumerID");

/**
* The handler function for serving the Atlassian Connect App descriptor.
Expand Down Expand Up @@ -81,9 +80,6 @@ export function atlassianConnectJSON(ctx: Context): void {
key: "postinstallredirect",
url: dashboardAppURL,
},
oauthConsumer: {
clientId: oauthConsumerID,
},
},
};

Expand Down

0 comments on commit 0a8409b

Please sign in to comment.