ananay / passport-apple

Passport strategy for Sign in with Apple
https://passport-apple.ananay.dev
142 stars 49 forks source link

invalid_request invalid web redirect url #22

Closed timorss closed 3 years ago

timorss commented 3 years ago

getting invalid_request Invalid web redirect url

What am I doing wrong?

WhatsApp Image 2021-02-26 at 12 23 25

code :

111

222

333

ananay commented 3 years ago

Hi @timor,

I would suggest you to refer to the example at https://github.com/ananay/passport-apple-example

Let me know if it doesn't work even after closely following the example.

timorss commented 3 years ago

Hey' thanks for reply... I did exactly as the example And still getting this error

ananay commented 3 years ago

@timorss I think you need to add the web redirect URL to your application. Here's what I mean:

image

Here's the file with all the steps if you want to double check your configuration: https://github.com/ananay/apple-auth/blob/master/SETUP.md

Hope this helps!

timorss commented 3 years ago

I don't have return url, I have this: 555

Hranatikk commented 3 years ago

Hi @timorss

You can edit your return url not in App Id, but at Service Id

velykov commented 3 years ago

Yep, I get same error, first of all, apple post to callback, and I can't log in via apple, because after submit, I got a new auth apple's page ;(

JoaquimLey commented 3 years ago

Make sure to set the service ID client_id/domain and not the "App"

ananay commented 3 years ago

Hopefully this got resolved! If it didn't, please feel free to reopen this.