Jorge Arias Argüelles
PreguntaHola!
Cuando hago la pruega del: localhost:3000/login
me aparece esto: “Cannot GET /login”
Al guien podrñia ayudarme por favor?

Carlos Valdez
Pudiste solucionarlo ?

jason alejandro martinez jimenez
app.get('/login', function(req, res){ const state = generateRandomString(16);
const queryString = querystring.stringify({ response_type: "code", client_id : config.spotifyClientId, scope: scopesArray.join(" "), redirect_uri : config.spotifyRedirectUri, state: state });
res.cookie("auth_state", state, {http0nly: true }); res.redirect(
https://accounts.spotify.com/authorize?${queryString}
Este es el código del /login, tal vez tengas algo malo en el código o una confusión de variables. Maybe