Skip to content

Commit

Permalink
fix(passport): apple profile (#1961)
Browse files Browse the repository at this point in the history
  • Loading branch information
maurerbot authored Mar 21, 2023
1 parent 14febc2 commit 566e9f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/passport/app/utils/authenticate.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ const provisionProfile = async (
}
case OAuthAddressType.Apple: {
return {
displayName: res.profile.name,
displayName: res.profile.name || res.profile.email,
pfp: {
image: res.profile.picture,
},
Expand Down
2 changes: 1 addition & 1 deletion platform/address/src/nodes/oauth.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { DurableObjectStubProxy } from 'do-proxy'
import { AddressNode } from '.'
import { AddressProfile, OAuthData } from '../types'
import { OAuthData } from '../types'
import Address from './address'

type RefreshTokenResponse = {
Expand Down

0 comments on commit 566e9f2

Please sign in to comment.