How can I get the proxy address of my glitch project?
To get the address of a Glitch project (or any website for that matter), open a terminal and run:
ping example.glitch.me
It should return something like:
Reply from 0.0.0.0: bytes=32 time=70ms TTL=52
Those numbers are the IP of the project.
Can you share your code?
const strategy = new Strategy({
clientID: client.appInfo.id,
clientSecret: client.config.dashboard.oauthSecret,
callbackURL: client.config.dashboard.callbackURL,
scope: [āidentifyā, āguildsā]
},
function(accessToken, refreshToken, profile, callback, done) {
process.nextTick(() => done(null, profile));
});
const agent = new proxyAgent(ā52.87.70.69:253ā);
strategy._oauth2.setAgent(agent);
passport.use(strategy);
One issue is that Glitch project IPs can change from time to time. Iām not familiar with passport.js, but is there a way to allow all IPs?
Iām asking you, donāt you know the question?
No, sorry, I am not familiar with passport.js, maybe @khalby786 can help us out?
@khalby786 Can you help me ?
Uncaught Promise Error: Error: an HTTP(S) proxy server host
and port
must be specified!
Sorry @byacar, Iām not familiar with Passport.js, but Iām sure other community users might be able to help you out.