[Vuejs]-Nuxt Auth – hide client_secret

0👍

Because in laravel.passport its deleted after used when addAuthorize called. See code

  // Get client_secret, client_id and token_endpoint
  const clientSecret = strategy.client_secret
  const clientID = strategy.client_id
  const tokenEndpoint = strategy.token_endpoint

  // IMPORTANT: remove client_secret from generated bundle
  delete strategy.client_secret

So you need to do same for your scheme

Leave a comment