• 0
Sign in to follow this  
dfliess

Force Login

Question

2 answers to this question

Recommended Posts

  • 0

ML added de force_login parameter on the authorization URL. if using passport.js you can do:

MLStrategy = new MercadoLibreStrategy(options, (accessToken, refreshToken, profile, done) => {
    done(null, user);
});

MLStrategy.authorizationParams = function(options) {
    return {
        force_login : 'true'
    };
};

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this