Step-by-step guide for creating a iOS / macOS .p8 Authentication Key
OneSignal dashboard push configuration page.
If updating from a p12 or another p8, you'll have the option to 'update authentication'
.p8 File
– The private key file you downloaded from your Apple Developer account.Key ID
– Located in the Keys section of your Apple Developer account. Make sure it matches the downloaded .p8 file.Team ID
– Found in the top-right corner of your Apple Developer account.App Bundle ID
– You can find this:
Finding your .p8 key details
Finding your Bundle ID on Xcode
Check .p8 file format
.p8
file in a text editor.
Ensure you didn’t upload a .p12 by mistake
.p8
keys come from the Keys section of your Apple Developer account..p12
certificates are from the Certificates section. These are not compatible with .p8 authentication.Confirm you have the correct key id
.p8
key.Verify the team id
Ensure the key has apns capability
Wait a few minutes
.p8
key and create a new one from scratch.support@onesignal.com
with the Key ID, Team ID, Bundle ID, and a redacted screenshot of your Apple Developer Key configuration.