文档链接:https://drive.weixin.qq.com/s?k=AJEAIQdfAAoM9nRf1X#/preview
初始化流程:
sdk_id 和 sdk_token
"sdkId": "16244361569",
"sdkToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI3NTA1MjgiLCJpYXQiOjE2MjQ5NTM5MTEsImV4cCI6MTYyNjE2MzUxMSwiYXVkIjoiVGVuY2VudCBNZWV0aW5nIiwiaXNzIjoiMTYyNDQzNjE1NjkifQ.CLMMOsWlR9nvWPCBkwGRwTrAqxltr_mWx-qGENLDPOg"
登录流程:
id_token 和 sso url
"idToken": "eyJraWQiOiJ0ZW5jZW50X21lZXRpbmciLCJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJreWVtZWV0aW5nX2lvcyIsIm5hbWUiOiJreWVtZWV0aW5nX2lvcyIsImlhdCI6MTYyNDk1MzkxMSwiZXhwIjoxNjI2MTYzNTExLCJhdWQiOiJUZW5jZW50IE1lZXRpbmciLCJpc3MiOiIxNjI0NDM2MTU2OSJ9.1crwimJNp1RNpsONbV_uN-SE9mtM1oG00pbvKJL0VKc",
"ssoUrl": "https://demo4-idp.idaas.tencentcs.com/cidp/login/ai-b17a6f68b4ed47678c62e0e0a3fc3bb0?id_token=eyJraWQiOiJ0ZW5jZW50X21lZXRpbmciLCJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJreWVtZWV0aW5nX2lvcyIsIm5hbWUiOiJreWVtZWV0aW5nX2lvcyIsImlhdCI6MTYyNDk1MzkxMSwiZXhwIjoxNjI2MTYzNTExLCJhdWQiOiJUZW5jZW50IE1lZXRpbmciLCJpc3MiOiIxNjI0NDM2MTU2OSJ9.1crwimJNp1RNpsONbV_uN-SE9mtM1oG00pbvKJL0VKc"
问题描述:
前端在初始化时,已经将sdk_id和sdk_token上报给腾讯,然后使用ssoUrl里面的地址去访问,无法访问。