-
-
Notifications
You must be signed in to change notification settings - Fork 193
Login with Discord #556
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
Comments
Hi @theCowBoiCoder, Do you mean you're visiting the discord url from your browser? Or are you doing something inside your NativePHP app? |
This was inside the application. |
My guess is whatever discord is doing does not work within a electron window. Maybe it'll work if you open the url using Shell::openExternal($url); |
this did work, but how will handle the callback? |
Am I correct in assuming you are trying oauth? You might be able to use a deep link to the app as a callback url. Not all oauth providers accept this however You can also spin up the php built in web server from a child process and redirect there. You have to make sure to validate the request coming in though, and maybe even exit the process when you don't need it We have ideas for adding the latter in the framework in the future 👌 |
So i am using Socialite with Auth in Laravel but using discord to authenticate: Discord Let me see how i can do it another way. |
What were you trying to do?
I am trying to login with discord. When I hit the link i just get a white screen:
What happened?
I get a white screen
How to reproduce the bug
NA
Debug Output
Which operating systems have you seen this occur on?
No response
Notes
I am not sure the process to fix.
The text was updated successfully, but these errors were encountered: