Cant able to use my flask website having google auth as iframe in my other website i am using flask dance and i want that google auth window should open in new tab and after verification it closes that tab and i get the callback
i tried using flask open in new window but failed
Related
I setup a simple authentication system using python-social-auth-django. Everything is working fine on my computer and my mobile phone, but when I try to open login link from Messenger app with another phone (Huawei brand), the link opens inside Messenger's embedded browser and I get belows (same for Facebook and Google oauth).
Searching around it has something to do with new policy disabling authentication from embedded browser such as Messenger embedded browser.
What should I do either to force my login link to open outside of Messenger embedded browser or allow login with Facebook/Google oauth from WebViews browser ?
You can't sign in from this screen because this app doesn't comply with Google's secure browsers policy. If this app has a website, you can open a web browser and try signing in from there.
From my browser and own phone I open home link (from messenger app). This opens a browser window and login works fine.
From another phone, when I click the messenger link, it opens in embedded browser.
I'm trying to authenticate users in my django app using an existing ASP.Net IdentityServer login app. I've seen the documentation has an example for an angular or react(Javascript based app) but not django. Does anyone have some sample code or tutorial that shows how to do in django? I'm new at this. Especially when it comes to the call back. I'm not sure i need to use an open iD client package to do this. Is it possible to do this in django? Or does it have to be a JS application? I appreciate any assistance
https://identityserver4.readthedocs.io/en/latest/quickstarts/4_javascript_client.html?highlight=authority#add-your-html-and-javascript-files
Is it possible to create an app from a website (url) similar to the GoNative service via Expo?
Hi everyone I want to put a google+ login button on my website (coded in django) w/o using any 3rd party tool like Django-Social-Auth, etc.
So can anyone point me to some tutorial or help me how to do it. I want user to login via Google+ and then I can get their information at backend in django views. I will be then hosting it on Google App Engine so if some GAE API can help me then it will also be great.
I figured out the solution:
Got access_token using https://developers.google.com/+/web/signin/javascript-flow
Then send out the access_token to Server for getting User Details, considering these security measures (https://developers.google.com/+/web/signin/client-to-server-flow).
Use Django CSRF Token functionality to send token safely (https://docs.djangoproject.com/en/dev/ref/contrib/csrf/).
I am developing one application which will display URL from all currently running web browsers.
I stuck on the firefox and chrome web browser.
I have a handle of currently running web browser but not able to get the URL from it.
So, Can any one tell me how can I get URL from Firefox and Chrome Web Browser.
Thank You In Advance.