【帳戶與帳號】如何設定 Apple 登入 (Sign in with Apple)
Apple 登入(Sign in with Apple)是一種快速、安全且隱私友好的身份驗證方式,用戶可使用其 Apple ID 登錄應用程序或網站,無需創建新帳戶或記住額外的密碼。
步驟一:註冊 Apple Developer 帳號
- 你必須先擁有 Apple Developer 帳號,你可透過以下連結註冊或登入
- Apple Developer 帳號會需要收取年費,約 99 USD / 年,你可參考 Apple 官方說明
步驟二:建立 APP
- 選擇 Identifiers → App IDs
- 點擊 +
- 選擇 App IDs
- 選擇 App
- 輸入 Description (描述) 和 Bundle ID
(1)Bundle ID 可以根據這建議的格式輸入,如:store-apple-login
- 選擇sign in with apple without any configuration → 點擊 continue → 點擊 register
步驟三:建立服務(Service)
- 選擇 Service
- 點擊 +
- 選擇 service IDs → 點擊 continue
- 輸入 description 和 Identifier
(1)Identifier 可以根據這建議的格式輸入,如:store-apple-login-service
- 輸入後點擊 continue → 點擊 register
- 選擇剛剛建立的 Service
- 勾選 Sign in with Apple → 點擊 Configure
- 輸入域名
(1)Domains and Subdomains 輸入 easy.co
(2)Return URLs 輸入 https://easy.co/multipass/shoppingapp/apple 和 https://easy.co/multipass/apple (使用,分開這兩個域名)
(3)點擊 next
- 點擊 continue 和 save
步驟四:建立 Keys
- 進入 Keys
- 點擊 +
- 輸入 Key Name
- 勾選 Sign in with Apple → 點擊 Configure
- 選擇你在步驟二設定的 App ID
- 點擊 continue
- 點擊 Register
- 點擊 Download key (下載)。注意:Key 文件只可以下載一次,請妥當保存,若是遺失了,需要再重新製作 Key
步驟五:串接至 EasyStore 後台
- 前往 EasyStore 後台 → 設定 → 客戶設定
- 選擇 Apple
- 輸入串接資訊,串接資訊可以在 Apple developer 後台獲取
(1)Service ID
(2)Team ID
路徑如下:
App ID → Identifiers
點擊紅框處
Team ID 與 App ID 相同
(3)Key ID
(4)Key Value (P8 file) = 輸入步驟四,第 8 點所下載文件的 Key
步驟五:設定 Apple Email 轉寄
- 顧客透過 Apple 登入時,可選擇隱藏 Apple Email,顧客登入後,顧客 Email 會顯示 privaterelay.appleid.com (私密 Email)
- 你可按照以下步驟設定,當需要從 EasyStore 發送如付款通知信、訂單成立信,將會轉發至顧客的真實 Apple email
(1)前往「Services」→ Configure
(2)於 Email Sources 點擊 「+」
(3)於「Domains & Subdomains」填入 mail.easystore.co
(4)點擊 Register ,完成!
- 設定完成後,後續若是由 EasyStore 系統發出的信件(mail@easystore.co),會由 Apple 轉發給顧客的真實 Apple Email
前台顯示
成功串接後,即會在官網註冊/登入頁面看到 Apple 登入
更新時間: 09/06/2025
感謝!