Skip to content

Commit 759ca3c

Browse files
chore: update comments
1 parent e795d8b commit 759ca3c

File tree

1 file changed

+4
-4
lines changed
  • examples/miniapp-wx/miniapp/pages/index

1 file changed

+4
-4
lines changed

examples/miniapp-wx/miniapp/pages/index/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Page({
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
@@ -39,7 +39,7 @@ Page({
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
}
@@ -56,7 +56,7 @@ Page({
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: ''

0 commit comments

Comments
 (0)