Comments (7)
This could be because you have already authorized the app. Apple only sends the user object the first time the user authorizes the app. Subsequent authorizations don't send the user object.
The user object is what contains the first/last name.
Also, the id_token that apple gives out never seems to contain the first/name info, so that means the only time you can get this is the first time you authorize the app.
from omniauth-apple.
We seem to have observed an issue where if you authenticate with TouchID, then everything in the OmniAuth hash is nil
(email, first name, last name), but if you authenticate with your Apple email & pw, everything is populated. We're still trying to figure it out, any help would be appreciated.
from omniauth-apple.
+1
from omniauth-apple.
I am aware of this and tested multiple times deauthorize good the app. Never got the name.
from omniauth-apple.
@sdhull , same thread as you, I'll share my findings if I come up with any, I had tried the scope encoding commit that references this issue, but we're still seeing the email coming up as null
, will report back with any news!
from omniauth-apple.
I'm receiving the name as user e-mail. Looking in the gem it sets the name with user's email when the name do not came from apple validation.
I'm receiving it even in the first access (after removing the app from my account, having to accept and decide if I'll share my email or not).
Any solution? Thanks.
from omniauth-apple.
hope this merged, or do the same in your app.
https://gitlab.com/oauth-xx/oauth2/-/merge_requests/633
from omniauth-apple.
Related Issues (20)
- Authentication failure! HTTP Origin header (https://appleid.apple.com) didn't match request.base_url (https://mysite.com) HOT 8
- nonce is optional in callback HOT 13
- Getting error as id_token_claims_invalid | nonce invalid HOT 2
- Authentication failure! no implicit conversion of String into Array: TypeError, no implicit conversion of String into Array
- Apple SSO Callback Phase throws a OAuth2::AccessToken.from_hash error HOT 1
- ERROR -- omniauth: (apple) Authentication failure! invalid_credentials: OAuth2::Error, invalid_request: {"error":"invalid_request"} HOT 2
- Please, add to Readme some important settings. HOT 3
- Empty request.env['omniauth.auth'] in callback
- Doesn't receive code in mobile browser HOT 2
- "stored_nonce" is nil due to different sessions HOT 9
- Authentication failure! invalid_credentials: OAuth2::Error, invalid_request: {"error":"invalid_request"} HOT 2
- Is Ruby 2.1.1 supported by omniauth-apple ? HOT 3
- Error when callback ? HOT 12
- Can't use Sign In With Apple JS HOT 25
- Fetching keys fails in production HOT 8
- Nonce mismatch Error HOT 10
- Stuck on Request Phase Initiated HOT 1
- Apple's /auth/revoke supported? HOT 1
- Oauth2 version 2.0.0 breaks omniauth-apple HOT 4
- Remove version lock for rack-protection HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omniauth-apple.