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

Add URI auth scheme support for UWP #54

Open
hippogamesunity opened this issue Sep 18, 2019 · 8 comments
Open

Add URI auth scheme support for UWP #54

hippogamesunity opened this issue Sep 18, 2019 · 8 comments

Comments

@hippogamesunity
Copy link

hippogamesunity commented Sep 18, 2019

In UPW build, after I press Allow in browser, it redirects me to localhost. And nothing happens.
image

BTW I can confirm your plugin works in Editor, Android, iOS and macOS. UWP is the last boss for me, so I will thank you for any help and tips =)

@elringus
Copy link
Owner

I guess you need to allow the app to access localhost. Check this: https://stackoverflow.com/questions/33259763/uwp-enable-local-network-loopback

@hippogamesunity
Copy link
Author

hippogamesunity commented Sep 19, 2019

Do you mean each user should execute the code after installing an UWP app from Microsoft Store?)
c:\>checknetisolation loopbackexempt -a -n=<package family name>

I've also tried enabling client&server feature with no luck:
image

@hippogamesunity
Copy link
Author

Here is another link I've found: https://wpdev.uservoice.com/forums/110705-universal-windows-platform/suggestions/36604855-allow-localhost-loopback-capability-in-uwp-apps-de

Seems it's not possible to pass MS Review with localhost loopback enabled.

@elringus
Copy link
Owner

The app should ask for a permission to access localhost, which is done with the aforementioned utility. It's just a guess, though.

@hippogamesunity
Copy link
Author

image

@hippogamesunity
Copy link
Author

I've found this: https://developers.google.com/identity/protocols/OAuth2InstalledApp
So I suppose you shouldn't use localhost loopback for UWP. I can help you with QA if you will implement option 1 =)
image

@elringus
Copy link
Owner

Ah, looks like they've changed the recommended scheme for UWP.

Unfortunately, I'm unable to work on that at the moment, but if anyone is interested, feel free to send PRs.

@elringus elringus changed the title Redirecting to localhost in UWP Add URI auth scheme support for UWP Sep 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants