Skip to content

Commit

Permalink
debug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
simonredfern committed Dec 9, 2024
1 parent 11a126b commit ef8d637
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/middlewares/OauthAccessTokenMiddleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,15 @@ export default class OauthAccessTokenMiddleware implements ExpressMiddlewareInte
key: oauthTokenKey,
secret: oauthTokenSecret
}
console.log(`OauthAccessTokenMiddleware.ts use says: clientConfig: ${JSON.stringify(clientConfig)}`)
session['clientConfig'] = clientConfig
console.log('OauthAccessTokenMiddleware.ts use says: Seems OK, redirecting..')
const obpExplorerHome = process.env.VITE_OBP_API_EXPLORER_HOST
if(!obpExplorerHome) {
console.error(`VITE_OBP_API_EXPLORER_HOST: ${obpExplorerHome}`)
}
console.log(`OauthAccessTokenMiddleware.ts use says: Will redirect to: ${obpExplorerHome}`)
console.log('OauthAccessTokenMiddleware.ts use says: Here comes the session:')
console.log(session)

response.redirect(`${obpExplorerHome}`)
Expand Down

0 comments on commit ef8d637

Please sign in to comment.