Skip to content

How to get access token on new version #30

Open
@noprobz09

Description

@noprobz09

Hi all,

I am beginner here. How can I get access token on new version? I was using the old one and below is the sample code to get the token.

app.all('/oauth/token', app.oauth.grant());

app.get('/', app.oauth.authorise(), function (req, res) {
	res.send('Congratulations, you are in a secret area!');
});

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions