Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

YOUR CLIENT ID what is ? #1

Closed
IAn2018cs opened this issue Jun 22, 2022 · 6 comments
Closed

YOUR CLIENT ID what is ? #1

IAn2018cs opened this issue Jun 22, 2022 · 6 comments

Comments

@IAn2018cs
Copy link

Hi, thanks for these.
but CLIENT ID where to get it ?

@jooyoungho
Copy link
Owner

jooyoungho commented Jun 22, 2022

Hello. @IAn2018cs

TEAM ID, CLIENT ID, and KEY ID can all be found on the Apple site.

TEAM ID: Your team ID, which can be found at https://developer.apple.com/account/#!/membership.
CLIENT ID: For apps, this is your App ID (IDENTIFIER) located at https://developer.apple.com/account/resources/identifiers/list.
KEY ID: This is the Key ID that appears when you go to https://developer.apple.com/account/resources/authkeys/list.

@IAn2018cs
Copy link
Author

Hello. @IAn2018cs

TEAM ID, CLIENT ID, and KEY ID can all be found on the Apple site.

TEAM ID: Your team ID, which can be found at https://developer.apple.com/account/#!/membership. CLIENT ID: For apps, this is your App ID (IDENTIFIER) located at https://developer.apple.com/account/resources/identifiers/list. KEY ID: This is the Key ID that appears when you go to https://developer.apple.com/account/resources/authkeys/list.

Thanks !!!

@MikaloBlue
Copy link

MikaloBlue commented Jun 23, 2022

@IAn2018cs
Once we create this file on Apple and we change the XXXXXXXX part to the proper value, do we need to upload the p8 file somewhere so it finds it or is it able to get it from Apple again?
let privateKey = fs.readFileSync('AuthKey_XXXXXXXXXX.p8');

Thank you for this, it's helping greatly to try to get this feature in.

@jooyoungho
Copy link
Owner

@MikaloBlue

You can deploy it by placing it in the same path as your Firebase Functions index.js file. It is uploaded together when deploying.

@jooyoungho
Copy link
Owner

@davidrazmadze Thank you for your kind explanation. I'm concerned about seeing the Team ID in the screenshot. I recommend removing sensitive information such as team ID.

@davidrazmadze
Copy link

All required IDs

For makeJWT(), getRefreshToken(), and revokeToken()

All of info can be found in the developer.apple.com portal. You will need the following: team id, client id, and key id.

1. Team ID

https://developer.apple.com/account/#!/membership

Screen Shot 2022-09-25 at 8 13 40 AM

2. Client ID

This is the bundle identifier from your Xcode project or you can find it at https://developer.apple.com/account/resources/identifiers/list

Screen Shot 2022-09-23 at 8 09 37 PM

3. Key ID

You need to create a new key id and download the .p8 private key file. Do not share this with anyone!

You can place the .p8 file in the same directory as your firebase functions /functions

https://developer.apple.com/account/resources/authkeys/list

Screen Shot 2022-09-23 at 8 11 23 PM

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants