Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

100
Views
Error de análisis de XML: no está bien formado Ubicación: http://localhost:3000/_auth/laravelPassportPassword/token Número de línea 1, columna 1

Estoy usando nuxt js junto con el pasaporte laravel. cuando inicié sesión, inicié sesión correctamente, pero muestra el error anterior y al actualizar, se redirige al inicio de sesión.

En mi login.vue

 methods: { async login() { this.error = null; await this.$auth .loginWith("laravelPassportPassword", { data: this.form }) .then((response) => this.$router.push("/")) .catch((error) => (this.error = error.response.data.message)); }, },

En mi nuxt.config.js

 auth: { redirect: { home: '/', }, strategies: { laravelPassportPasswordGrant: { name: 'laravelPassportPassword', provider: 'laravel/passport', url: '/backend', endpoints: { logout: '/api/logout', user: { url: '/api/user', }, }, clientId: process.env.PASSPORT_CLIENT_ID, clientSecret: process.env.PASSPORT_CLIENT_SECRET, grantType: 'password', }, }
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!