Home > Back-end >  Nuxt springboot shiro each request sessionID don't have problem
Nuxt springboot shiro each request sessionID don't have problem

Time:09-24

Nuxt + springboot + shiro, nuxt each request backend interface sessionId is different, lead to cannot be verified some permissions, and unable to get verification code in the session, but there is a strange phenomenon is every time refresh verification code, the background of the sessionId is the same, the project from vue transformation, the background also set the cross-domain, Taiwan before and after interface is pass, just sessionId inconsistencies, anyone know how to solve a problem? Just contact nuxt, strives for the answer

CodePudding user response:

The front-end axios done setting?
WithCredentials axios setting to true

CodePudding user response:

reference 1st floor dkwuxiang response:
front-end axios done setting?
WithCredentials axios setting to true

Has been solved, set in the configuration file is not working, need to set in the reference of js, or is set in the vue file, now also don't know why
  • Related