Skip to content

Commit

Permalink
Make httpAuth callback relative
Browse files Browse the repository at this point in the history
  • Loading branch information
hardillb committed May 22, 2024
1 parent 2d4d898 commit 73375ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/auth/httpAuthMiddleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ module.exports = {
// any path

const nodeUrl = new URL(options.baseURL)
const callbackURL = `${nodeUrl.origin}/_ffAuth/callback`
const callbackURL = '/_ffAuth/callback'
const authorizationURL = `${options.forgeURL}/account/authorize`
const tokenURL = `${options.forgeURL}/account/token`
const userInfoURL = `${options.forgeURL}/api/v1/user`
Expand Down

0 comments on commit 73375ea

Please sign in to comment.