# 6. 애플 로그인 설정

{% hint style="info" %}
\*소셜 로그인 기능을 사용하지만, 애플 소셜 로그인을 지원하지 않을 경우 Apple store 앱 심사에서 승인되지 않습니다.&#x20;

\* 소셜로그인 기능 사용한다면 해당 가이드를 반드시 진행해야 합니다.
{% endhint %}

1. **관리자 웹 접속**

* 운영 모드 ➡︎ 좌측 메뉴바 설정 ➡︎ 고급 설정 ➡︎ API키 설정으로 이동해 주세요.&#x20;

<figure><img src="/files/octp53DEyIsKacR9DJ8H" alt=""><figcaption></figcaption></figure>

1. 우측 상단의 등록 버튼을 클릭하고 아래의 이미지와 같이 입력해 주세요.&#x20;

   * 제목 : 애플 인증
   * 코드 : appleAuth
   * JSON 키 (각 빈칸에 들어갈 값은 3번의 설명을 참고해서 입력해 주세요.)

     <pre><code><strong>ex) 예시
     </strong>{
     	"keyId": "FRWE2323WDE",
     	"issuer": "EFREFR23423SD",
     	"bundleId": "io.ohmyapp.bundle.ios",
     	"privateKey": "ASDFSFAD3f43f4"
     }
     </code></pre>

   <figure><img src="/files/yVzWfAZbtVXtQq6Gcbfg" alt=""><figcaption></figcaption></figure>
2. JSON 키에 들어가는 값 설명

   1. keyId

      * [**Firebase 푸시 알림에서**](/main/guide/deploy/appstore/apple_firebase-pushnotifications.md) 다운로드 받은 .p8 확장자 파일의 제목에서 확인할 수 있어요. (AuthKey\_와 .p8 사이에 있는 값이 KeyId 예요.)

      <figure><img src="/files/0qeQlyJQkr4omwLs8npS" alt=""><figcaption></figcaption></figure>

   2. issuer

      * [**Firebase 푸시 알림에서**](/main/guide/deploy/appstore/apple_firebase-pushnotifications.md) 복사한 팀 ID를 입력해 주세요.

      <figure><img src="/files/qUgC2Y6Qxyil2B7IVUz1" alt=""><figcaption></figcaption></figure>

   3. bundleId

      * [**관리자 웹 환경설정**](/main/guide/deploy/appstore/2.md)에서 입력한 번들 아이디를 입력해 주세요.&#x20;

      <figure><img src="/files/GW7yPGztxvE9ratL9t1c" alt=""><figcaption></figcaption></figure>

   4. privateKey

      * &#x20;[**Firebase 푸시 알림에서**](/main/guide/deploy/appstore/apple_firebase-pushnotifications.md) 다운로드 받은 .p8 확장자 파일을 열어서  BEGIN/END PRIVATE KEY 사이에 있는 값만 입력해 주세요.&#x20;

      ```
      -----BEGIN PRIVATE KEY-----
      여기에 적혀있는 값만 복사해서 입력하세요.
      -----END PRIVATE KEY-----
      ```

위의 가이드를 모두 진행하고 앱에서 애플로 로그인 > 내 정보 탭에서 로그아웃 > 다시 애플로 로그인을 시도해 보세요. 로그인이 된다면 애플 로그인 설정이 완료된 거예요.

2023.10.19 Garlic, Ruru


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ohmyapp.io/main/guide/deploy/appstore/6..md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
