-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
I have a sandbox app with linkedin however, I keep getting the issue res.redirect is not a function not sure where the error lies.
import { Context } from 'vm';
const Linkedin = require('node-linkedin')('client_id', 'client_secret', 'callback_url');
const linkedin = Linkedin.init('client_id');
export const auth = (ctx: Context): any => {
const scope = 'r_liteprofile';
const info = Linkedin.auth.authorize(scope);
console.log('res', info);
};Momijiichigo
Metadata
Metadata
Assignees
Labels
No labels