Apple Auth not working on Ruby on Rails Backend
Source: Stack Overflow thread
Pain
-
I need to authentificate user and get its email. My class AppleId always returns: “invalid_client”.
-
Maybe i have some mistakes in my logic?
Keywords
- Auth
- Ruby on Rails
- Backend
- controller
Recommendation
-
I also had similar problem. Client_id on server should be ServiceId not AppId
-
Additionally, whilst it does not deal with Rails specifically, this post might be useful: Sign in with Apple (iOS App + Backend verification) API returns error “invalid_client”
-
There’s a Ruby gem that does this, and its README includes a link to a sample Rails project to illustrate how it works. I know that this doesn’t directly answer your question, but perhaps this might help you figure out how to solve the issue.
Worldview