Auth0 Home Blog Docs

Vuejs2-authentication-tutorial

auth0
api
vuejs

#1

Hi!
I want to use this https://github.com/auth0-blog/vuejs2-authentication-tutorial/blob/master/server/server.js
I don’t know what values to put up.
Where can I see them? What do I have to do?

server.js:

const authCheck = jwt({
  secret: jwks.expressJwtSecret({
        cache: true,
        rateLimit: true,
        jwksRequestsPerMinute: 5,
        jwksUri: "https://{YOUR-AUTH0-DOMAIN}/.well-known/jwks.json"
    }),
    // This is the identifier we set when we created the API
    audience: '{YOUR-API-AUDIENCE-ATTRIBUTE}',
    issuer: "https://{YOUR-AUTH0-DOMAIN}.auth0.com/",
    algorithms: ['RS256']
});

auth.js:

const ID_TOKEN_KEY = 'id_token';
const ACCESS_TOKEN_KEY = 'access_token';

const CLIENT_ID = '{AUTH0_CLIENT_ID}';
const CLIENT_DOMAIN = '{AUTH0_DOMAIN}';
const REDIRECT = 'YOUR_CALLBACK_URL';
const SCOPE = '{SCOPE}';
const AUDIENCE = 'AUDIENCE_ATTRIBUTE';

#2

This information would all come from the Dashboard as you sign up. In addition, this Quickstart is a good supplement to that Blog article