Skip to content

Middleware for koa to add an endpoint for google to autheticate their console

Notifications You must be signed in to change notification settings

24hr-malmo/rawb-google-verification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use

Catch the google verification request:

const Koa = require('koa');

const app = new Koa();

const googleVerification = require('rawb-google-verification');

app.use(googleVerification({ code: GOOGLE_VERIFICATION_CODE }));


app.listen(8080, function(err) {
    if (err) {
        console.log('ERROR', err);
        return;
    }
    console.log('Server started');
});

About

Middleware for koa to add an endpoint for google to autheticate their console

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published