Skip to content

Sign in with Apple OAuth2 handler for Meteor.

License

Notifications You must be signed in to change notification settings

jramer/apple-oauth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bigowl:apple-oauth

Sign in with Apple handler

Config

Look here for a good example how to get these: https://developer.okta.com/blog/2019/06/04/what-the-heck-is-sign-in-with-apple

The secret private key needs to have \n instead of newlines in the correct places. The redirectUri needs to be https. ngrok/serveo works for development but you need to have the uri added in you apple dev account in the return urls.

"apple": {
  "teamId": "",
  "clientId": "",
  "keyId": "",
  "secret": "-----BEGIN PRIVATE KEY-----\nABC\nABC\nABC\nABC\n-----END PRIVATE KEY-----",
  "redirectUri": "https://abc.def/_oauth/apple"
},

Meteor <= 1.9.3 needs an Oauth post body fix (Meteor 1.10+ has this fix included)

I had to fix the oauth package to make it work with post body data in older meteor. You need to add the package from my fork: https://github.com/jramer/meteor/tree/feature/oauth-post-body/packages/oauth

About

Sign in with Apple OAuth2 handler for Meteor.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%