nhosoya / omniauth-apple

OmniAuth strategy for Sign In with Apple
MIT License
264 stars 101 forks source link

Documentation is lacking #33

Closed jmaha closed 2 years ago

jmaha commented 4 years ago

This project needs thorough documentation. I've been trying to get it to work for the last week with no success. Comparing the source code to omniauth-facebook, omniauth-apple appears to work quite differently.

lmandrile commented 4 years ago

What are your issues?

NdaJunior commented 4 years ago

@jmaha I am also struggling - Did you manage to get this to work ?

jmaha commented 4 years ago

@NdaJunior I got it as far as getting Sign in with Apple working from a web browser (after digging through other issue reports to determine that CLIENT_ID is the Service ID you create in Apple's developer portal). However, I was unable to also support signing in from an iOS app. The credentials from the mobile app have to be validated using the App ID--the Service ID tied to the App ID doesn't work. It seems like omniauth-apple doesn't support this (hard to tell as it's pretty much undocumented, and it wasn't clear from the source code).

We finally ended up dropping omniauth-apple and sunsetting Facebook login, eliminating the requirements to support Sign in with Apple. Not a great solution, but it's what made sense for us.

NdaJunior commented 4 years ago

@jmaha I've managed to get as far as being redirected from my rails app to the apple ID login where you grant permissions for your app. I'm facing an issue now with the redirect back to my rails app where it complains about:

JWT::DecodeError No verification key available

Did you ever experience this ?

skotchpine commented 3 years ago

Apple has notoriously fluffy docs, and this repo could solve SO MUCH PAIN by just listing the steps involved

btalbot commented 3 years ago

Have you looked https://github.com/nhosoya/omniauth-apple-sample ?

skotchpine commented 3 years ago

I just wrote an apple walkthrough for the readme #62

nov commented 2 years ago

https://github.com/nhosoya/omniauth-apple/pull/62