Cannot logout of a shinyapps.io app - shiny

I have deployed a Shiny app using shinyapps.io and have made the application private. I can logon to the app using my credentials and use the app, but I am not able to logout of the app.
When I try to out logout of the app I am redirected to the following link:
https://userName.shinyapps.io/appName/__logout__
And the result of this redirect is: Not Found.
I tried to search online( shinyapps-users google group, and Stackoverflow) but failed to get any info.

Related

Authorization error while implementing google auhentication in django app

In my django project I have added google authentication API for user login and have deployed that project in heroku server[https://artgreeh.herokuapp.com]. I tried login through Google it worked with no issue in some machine but it's showing error in other machine. error image. In the google I have given redirect url-"https://artgreeh.herokuapp.com/accounts/google/login/callback/". If something is wrong with redirect url then it should not work in any device but it's working in some device.
I replaced "https" with "http" in the redirect url and it worked.

Can't Load URL - facebook login on the app

I am trying to implement fb login on my game https://ski-jumps.pl.
I prepared the application (settings below) and the script here: https://ski-jumps.pl/facebook.php
Unfortunately when I try to log in this app, a message is displayed: "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."
What am I doing wrong? Some ideas?
application settings
I had the same problem, struggled for hours. I fixed it by providing following url in the Valid OAuth Redirect URIs of the Facebook Login product
https://mysubdomain.azurewebsites.net/signin-facebook
Regard the signin-facebook, which isn't something I provide. I found this is the url of the Facebook error page.

Python social auth for login with Facebook not working on production server

I am using Python social auth for login with Facebook and Google with Django 1.8.
It is working fine on localhost, but when I deployed it on a production server it is not working. When I click on a login with Facebook or Google button, the browser goes into a waiting state. After some time it gives me a 502 Bad Gateway error. I'm using gunicorn with nginx on the production server.
Try configure your Facebook App with the URL of your website

After user removes application access to his LinkedIn profile, next OAuth2 reauthorization fails

I'm using django application with python-social-auth responsible for integration with Linkedin OAuth2 API.
Linkedin returns 500 server error:
{
"error":"server_error",
"error_description":"the authorization server encountered an unexpected condition : Unable to retrieve access token"
}
Steps to reproduce:
Create new LinkedIn app with OAuth 2.0 Redirect URLs set to http://localhost/complete/linkedin-oauth2/?
Setup django app with python-social-auth module:
SOCIAL_AUTH_LINKEDIN_OAUTH2_KEY = <API key>
SOCIAL_AUTH_LINKEDIN_OAUTH2_SECRET = <Secret Key>
Run Django server on port 80 and go to: http://localhost/login/linkedin-oauth2/
Go to Linkedin Settings, choose Groups, Companies & Applications > View your applications, select your application name and submit Remove
Logout user from your Django app and start authentication again: http://localhost/login/linkedin-oauth2/
There's a discussion about this issue on the LinkedIn forums.
Apparently this can happen if you move from OAuth1 to OAuth2.
The proposed remedy until they resolve the problem is to create a new authentication key for our applications.

Testing a facebook app on a development server

The facebook graph API doesn't let you redirect to any address other than the one registered with the app. So, if you want to test changes to your code on a dev server without deploying it, how would you? Do you create another facebook app just for testing?
Edit: This question is about "server flow" authentication. Ie, when a user signs in, you redirect them to facebook, they sign in, then facebook redirects them back to you.
Create a Facebook Application
Then goto yourapp setting > In the Web Site section: Configure the Site URL, and point it to your Web Server. If you're developing locally, you can use http://localhost:8080/ (or any URL that you're developing on)
Don't know if you have to but I also set my Canvas URL under Facebook Integration settings.
Reference: Take a look at the Getting Started section here
Mac/Linux: Just set your /etc/hosts ie:
127.0.0.1 testserver