Skip to content

Not getting user info from the response #52

@prashant03Dev

Description

@prashant03Dev

#STEPS Followed:

-install npm i react-apple-login library.
-Use code snippet as per mentioned below:

< AppleLogin
clientId = {
APPLE_CLIENT_ID
}
redirectURI = {
${window.location.origin}
}
render = {
(renderProps) => ( <
Button onClick = {
renderProps.onClick
}
color = "secondary"
fullWidth size = "large"
startIcon = {
Icons.Apple
}
className = "max-w-[343px] items-center justify-center m-auto flex h-12" >
<
span className = "font-medium text-base leading-7" >
Continue with Apple <
/span> <
/Button>
)
}
responseMode = "query"
callback = {
handleAppleSignIn
}
scope = "email name" /
>

-After using this code snippet,getting idtoken in response.

image (7)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions