Skip to content

hogangnono/passport-kakao-token

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

passport-kakao-token

This module provides to authenticate with an access token on connect middleware including express.js. It will be necessary to login on the Device.

It forked from passport-kakao and refered from passport-facebook-token.

How to Use

You can authenticate with calling REST API like below.

GET /auth/kakao/token?access_token=[ACCESS_TOKEN]

And you should define a routing on your connect-style codes.

app.get('/auth/kakao/token', passport.authenticate('kakao-token'), function (req, res) {
    if (req.user) {
        // success
    } else {
        // fail
    }
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%