0.0.2 • Published 7 years ago
auth0-userfromtoken v0.0.2
auth0-userfromtoken
Simple little module to verify an RS256 token issued by Auth0.
usage
import verify from 'auth0-userfromtoken'
verify(token, AUTH0_CLIENT_DOMAIN)
.then(user => {
// do stuff with user here
})where AUTH0_CLIENT_DOMAIN is your Auth0 domain, and token is a token coming in from client.
0.0.2
7 years ago