zhazhazhu / vue3-oidc

基于 oidc-client-ts、vue3响应式 登录授权
https://www.npmjs.com/package/vue3-oidc
38 stars 5 forks source link

Why does the token automatically sigout when the token expires? #8

Open mrreddevil2412 opened 2 months ago

mrreddevil2412 commented 2 months ago

Why does the token automatically sigout when the token expires? In the MVC project. net does not automatically logout, but when the token expires, it will automatically log back in

zhazhazhu commented 1 month ago

if you didn't want automaitcally logout, you would need to close the option of automaticSilentRenew

mrreddevil2412 commented 1 month ago

if you didn't want automaitcally logout, you would need to close the option of automaticSilentRenew

What do you mean change the automaticSlientReview to false???

zhazhazhu commented 1 month ago

The automaticSlientReview option default open,it will create a iframe which control the oidc server, so it indicate that will voluntarily log out when your identity is logged out you see, oidc-client-ts