How does WebAPI implement single sign-on?

how does a project based on Java"s webApi implement user authorization? How to achieve single sign-on?
the project consists of two parts: webApi and the website. can these two parts use the same authority authentication / single sign-on?

I have referred to some materials on the Internet, including those who use OAuth2.0 and those who implement single sign-on mechanism on their own. I don"t quite understand. Are there any great gods who are familiar with this aspect?

reference address link:
Java-- implements single sign-on


1. The authority authentication you are talking about is login authentication, right? Api uses jwt scheme, which simply means encrypting uid or establishing a mapping relationship
2. Single sign-on, simply go to see ucenter, watch complex cas, or implement
3 on your own. I didn't expect the scenario in which you api and the website log on at the same time
4.OAuth2.0 and single sign-on


http://www.hangzhoufe.com/top.

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e46503-43b1d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e46503-43b1d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?