curl --location --request POST 'https://accounts.zwsoft.cn/connect/token' \ --data-urlencode 'client_id=TestClient' \ --data-urlencode 'scope=openid phone email profile offline_access ZMS.UserDetails.Read' \ --data-urlencode 'redirect_uri=https://web.zwsoft.cn/login/callback/' \ --data-urlencode 'grant_type=authorization_code' \ --data-urlencode 'code=hsxMFWUS0n1-3NRvocXdy3-f2a6gT2afuqr_S19ThLs' \ --data-urlencode 'code_verifier=d649tj6k54l8u6d53xc556fse564egr56hj48yt5njm4z89d2s'
{ "id_token": "eyJhbGciOiQ-5YnhpEnh9IkzenXQ", "access_token": "eyJhbGciB5DZtTWYVqa9A", "expires_in": 7200, "token_type": "Bearer", "refresh_token": "GWV69F9kGdnVM", "scope": "openid phone email profile offline_access ZMS.UserDetails.Read" } 为方便展示,token进行了截取