File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
examples/miniapp-wx/miniapp/pages/index Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2424 async loginByPhone ( e ) {
2525 const { code } = e . detail
2626 const res = await authing . loginByPhone ( {
27- extIdpConnidentifier : 'authing-zhaoyiming-miniprogram ' ,
27+ extIdpConnidentifier : 'AUTHING_EXT_IDP_CONN_IDENTIFIER ' ,
2828 wechatMiniProgramCodeAndPhonePayload : {
2929 wxPhoneInfo : {
3030 code
3939
4040 async loginByCode ( ) {
4141 const res = await authing . loginByCode ( {
42- extIdpConnidentifier : 'authing-zhaoyiming-miniprogram ' ,
42+ extIdpConnidentifier : 'AUTHING_EXT_IDP_CONN_IDENTIFIER ' ,
4343 options : {
4444 scope : 'openid profile offline_access'
4545 }
5656 const { code } = e . detail
5757
5858 const res = await authing . getPhone ( {
59- extIdpConnidentifier : 'authing-zhaoyiming-miniprogram ' ,
59+ extIdpConnidentifier : 'AUTHING_EXT_IDP_CONN_IDENTIFIER ' ,
6060 code
6161 } )
6262
@@ -258,7 +258,7 @@ Page({
258258
259259 async decryptData ( ) {
260260 const res = await authing . decryptData ( {
261- extIdpConnidentifier : 'authing-zhaoyiming-miniprogram ' ,
261+ extIdpConnidentifier : 'AUTHING_EXT_IDP_CONN_IDENTIFIER ' ,
262262 encryptedData : '' ,
263263 iv : '' ,
264264 code : ''
You can’t perform that action at this time.
0 commit comments