Skip to content

Instantly share code, notes, and snippets.

@KimGenius
Last active May 28, 2019 05:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KimGenius/195873b8721d06702d8788b1099df1b8 to your computer and use it in GitHub Desktop.
Save KimGenius/195873b8721d06702d8788b1099df1b8 to your computer and use it in GitHub Desktop.
app.get('/login', (req, res) => {
const uri = `https://api.solapi.net/oauth2/v1/authorize?` +
`client_id=CIDPL49TEFPSPLZS&` +
`redirect_uri=http://localhost:8080/authorize&` +
`response_type=code&` +
`scope=message:write&` +
`state=ADFN31fmD1fa4`
return res.redirect(uri)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment