-
Notifications
You must be signed in to change notification settings - Fork 1
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
Facebook OAuth Package #1
Comments
Hi @mohammadkhair7 , unfortunately, I don't have a Facebook account, so I can't test an Oauth2 request workflow on Facebook. https://github.com/LabVIEW-Open-Source/Oauth2/tree/feature/facebook I've listed the "public_profile" scope as default, but it can be extended with your own needs using the initialize method. |
Great! really appreciate getting me started with this and certainly will be
willing to test and let you know any needed improvements.
Thank you very much sir!
Mohammad
…On Sun, Apr 18, 2021 at 2:42 PM Francois Normandin ***@***.***> wrote:
Hi @mohammadkhair7 <https://github.com/mohammadkhair7> ,
unfortunately, I don't have a Facebook account, so I can't test an Oauth2
request workflow on Facebook.
The extension should not be very difficult to implement, but one needs to
have an account to be able to test the workflow.
From what I can tell from online doc, it is pretty a standard, so I've
made a branch with the code as I think it should be.
If you'd be willing to test it and report back, I'm sure others would
appreciate too ;-)
https://github.com/LabVIEW-Open-Source/Oauth2/tree/feature/facebook
I've listed the "public_profile" scope as default, but it can be extended
with your own needs using the initialize method.
[image: image]
<https://user-images.githubusercontent.com/11728548/115158497-66f99480-a05c-11eb-98a0-9ee42068b59f.png>
[image: image]
<https://user-images.githubusercontent.com/11728548/115158508-7a0c6480-a05c-11eb-9e61-2c7fde1cf0b4.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJM7WHEYGA6MZE5CNPFICE3TJMYYXANCNFSM43EPRFDA>
.
|
Thank you Francois so much! very helpful.
I tried adding my domain name as localhost to the App Settings on
developers.facebook.com and it accepts it, however I am still getting the
same error.
It maybe because of the following forced settings in Facebook, due to
security reasons, EnForce HTTPS is by default for redirect URI, and it can
not be changed.
So the section of the code that you mentioned Needed Update for HTTPS would
probably be needed for Facebook interface.
[image: image.png]
Thanks,
Mohammad
…On Sun, Apr 18, 2021 at 5:00 PM Francois Normandin ***@***.***> wrote:
ok, you will need to specify the redirection URL in your developer's zone:
"message": "Can't Load URL: The domain of this URL isn't
included in the app's domains. To be able to load this URL, add all
domains and subdomains of your app to the App Domains field in your
app settings.",
This error message suggests that "localhost" is not allowed as it is
configured in your developer's console...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJM7WHGSTM4JX73GBMJHNCTTJNJBNANCNFSM43EPRFDA>
.
|
Indeed. It cannot be easily done in LV2013, but LV2020 introduced TLS support for HTTP client, so I'll see you expose a dependent injectable override to allow for extending with https. |
Yes in Labview 2020, you can configure the HTTP request to become HTTPS as in the picture with ConfigSSL vi, however, you need to have the certificates it seems to make that happen. I will have to find out where to get these certificates from. If you can think of a work around that my application can use to enable login into Facebook let me know. Otherwise, thank you very very much for your support, you did an amazing job! By the way I am also a Biomedical Engineer! |
You might want to install self-signed certificates. The video features functionality I developed for another project, but which might be useful in this case. The package can be installed with vipm community. Good luck! (https://www.vipm.io/package/labview_open_source_project_lib_certification_authority/) |
Hello,
Awesome package, and very enabling toolset.
Do you happen to have a Facebook OAuth related feature for this package ?
If not, can you post an update with it ?
Thanks.
The text was updated successfully, but these errors were encountered: