0.1.5 • Published 5 years ago

passport-kakao-token v0.1.5

Weekly downloads
133
License
MIT
Repository
github
Last release
5 years ago

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
    }
});
0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.5

7 years ago

0.0.4

8 years ago

0.0.3

8 years ago