简体   繁体   中英

token authentication - Enable or Disable anonymous authentication

When setting up token authentication it always recommends to enable anonymous authentication, and disable all others.

I found today that even if I disable anonymous authentication the token is still validated by my server. I would have thought that would have blocked all access to the server.

Should anonymous authentication be enabled or disabled when using token authentication. Can you also explain the reason

Thanks in advance

when you disable the anonymous authentication no one can access your site even authenticated users can not able to access it. enable anonymous authentication allow authenticated users to access the site.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM