question

stein-onlinehandel avatar image
0 Likes"
stein-onlinehandel asked

OAuth redirect url - localhost

Hello, I have a web app that should allow a user to grant access for reading orders using OAuth, but I can't add localhost in the auth accepted URL field.

Because of the same origin policy I therefore can't read the authorization code from the query parameters after a user grants access to the app. Is there any way to fix this?

oauthoauth tokenruname
1663156446159.png (9.9 KiB)
· 1
10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

michab2003 avatar image michab2003 commented ·
i guess not. localhost can so easily be faked, I guess there is a reason for not allowing that. besides that, I don´t know how you can create a https certificate for "localhost" ;-)
0 Likes 0 ·

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.