mirror of
https://github.com/trufflesecurity/xsshunter
synced 2025-02-16 05:18:36 +00:00
troubleshooting
This commit is contained in:
parent
60f9104f46
commit
4b6608e7eb
1 changed files with 2 additions and 1 deletions
3
app.js
3
app.js
|
@ -20,7 +20,8 @@ const constants = require('./constants.js');
|
|||
|
||||
|
||||
const {OAuth2Client} = require('google-auth-library');
|
||||
const client = new OAuth2Client(process.env.CLIENT_ID, process.env.CLIENT_SECRET);
|
||||
const client = new OAuth2Client(process.env.CLIENT_ID, process.env.CLIENT_SECRET, `https://${process.env.HOSTNAME}/oauth-login`);
|
||||
console.log(`https://${process.env.HOSTNAME}/oauth-login`)
|
||||
|
||||
|
||||
function set_secure_headers(req, res) {
|
||||
|
|
Loading…
Add table
Reference in a new issue