| CPC H04L 9/3213 (2013.01) [H04L 63/0876 (2013.01); H04L 63/102 (2013.01); H04L 63/20 (2013.01); H04L 67/01 (2022.05)] | 20 Claims |

|
1. A service authorization method comprising:
receiving, by a first server, a first request from a client that is a network element for performing a network function in a core network deployed using a service-based architecture, wherein the first request requests an access token, and wherein the first request comprises first slice information, and wherein the first slice information comprises a network slice instance (NSI) identifier (ID) list or a single network slice selection assistance information (S-NSSAI) list;
performing, by the first server, authentication on the client;
sending, by the first server, a first response message to the client when the client is authenticated, wherein the first response message comprises the access token, and wherein the access token comprises the first slice information;
receiving, by a second server, a second request from the client, wherein the second request requests a function service, and wherein the second request comprises the access token;
verifying, by the second server, the first slice information to obtain a verification result; and
replying, by the second server, to the client based on the verification result.
|