Programming/MSA

Backstage) Install 1. Github App 설치

armyost 2025. 11. 10. 23:35
728x90

아래의 과정을 통해 획득한 Key는 모두 잘 보관한다.

GitHub Authentication Setup

1. Create GitHub OAuth App in your organization settings

 

2. Configure Homepage URL and Authorization callback URL:
- 로컬개발시에는 localhost 를 callback으로 한다.

  http://localhost:7007/api/auth/github/handler/frame   

- 만약 정말 서버에 provisioning을 한다면 그에 응하는 URL을 callback으로 한다.
   
https://.spotifyportal.com/api/auth/github/handler/frame

 

 

3. Copy clientId and clientSecret to Portal configuration

 

 

GitHub Repository Integration

1. Create GitHub App in your organization settings

 

2. Configure repository and organization permissions (see details below)

 

3. Disable webhooks (not required for Portal)

 

4. Generate and download private key

 

5. Install app on your organization and required repositories

 

6. Copy appId, clientId, clientSecret, and privateKey to Portal configuration