Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect_uri issue with Apple. #150

Open
HAmer-Banna opened this issue Sep 5, 2021 · 0 comments
Open

Redirect_uri issue with Apple. #150

HAmer-Banna opened this issue Sep 5, 2021 · 0 comments

Comments

@HAmer-Banna
Copy link

When I tried to implemented it for Apple I've faced a problem with redirect_uri, the problem is as following: when Android client try to signup it raises 'invalid redirect_uri', I found this article (https://johncodeos.com/how-to-add-sign-in-with-apple-button-to-your-android-app-using-kotlin/) that says I should implement a callback endpoint on the server side (Note: he use Node.js) to handle the redirect_uri but in his code he redirect the response to the same endpoint:

returnURL = '?success=true' + code + clientSecret + firstName + middleName + lastName + email res.redirect(returnURL)

My question is where should I redirect the request after I modify it on the server knowing that I still need some additional info from the client to send it to me in the body but they can't during the redirect_uri error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant