Skip to content

Commit

Permalink
only use baseURL for token url (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
nafiz1001 authored Oct 2, 2024
1 parent 040236e commit 3a0c484
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions triton-server/src/magic/magic_axios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ async function requestToken() {
const oauthConfig = {
method: "POST",
baseURL: clientPortalConfig.tokenUrl,
url: "/oauth/token",
headers: {
Authorization: credentials,
"Content-Type": "application/x-www-form-urlencoded",
Expand All @@ -79,7 +78,6 @@ async function requestToken() {
{
method: oauthConfig.method,
baseURL: oauthConfig.baseURL,
url: oauthConfig.url,
headers: {
// TODO: Redact the Authorization header
Authorization: oauthConfig.headers.Authorization,
Expand Down

0 comments on commit 3a0c484

Please sign in to comment.