Can I visit external urls with turbo native without opening external browser? - turbo

I have a web application that uses turbo and now I want to create a web application using turbo native. However, I need to do some redirecting to external urls for identification and it won’t work if the external urls are opened in an external web browser.
My web application uses tulo payway for logins and use their single sign on (SSO). There is an image describing the setup here: SSO
So basically what I want is to embed the website www.xyz.com with turbo native. However, for the login process to work, I also need the app to access the external urls for:
www.abc.com
PW-SSO
The urls above are not using turbo so it would be a break from “the turbo way”.
This works nicely on the web. It also works if I only create a simple android app with a web view that I set to point to the xyz url.
Is there a way to fix this so that the turbo native app can work with external urls without opening the urls in a new browser?

Related

What role does a web sever play in hosting of single page applications

As per my understanding, when user visits a url of a SPA application, the whole application is downloaded including any static html,assets and javascript. Can someone please clarify what role does the host web server play from there on? If after download of all the assets, I turn off the web server the application does not work. But ideally, it should work because now all the code to create any views is with the client already in form of javascript files. Let's assume there are no API calls for data.
Yeah it will work
If the application is fully loaded in browser it will work even after you turned off or disconnect the web server
Web Server No Need after the client has downloaded all the assets

Use web application project and call it from Web site

I already have one existing website project which is in production. Now i want to have another different functionality with set of new pages. So i want to keep another web application project and refer the same in my existing website.
Button click in my website will call my webpage in seperate web application project.
Am not using M.V.C
Is this possible? Can i host my newly creating web application along with my website?
I have tried to call webpage from website to my web application. It is working. But is this the correct way?
what is the best way?
You can point your new domain to previously hosted website. Also you can use url rewriting to show whatever url you need to display to user.

Using Google Analytics to traking Chromium Embedded Framework (CEF) based desctop Application

If i developed a desktop application based on CEF (or Webkit). It mean that my GUI is HTML. Now i want take heatmap for my App. The smartest way is using Google Analytic as ga.js. But ga.js available only for public site with URL like http://*** Does anyone have idea how use GA js in local html?
In CEF you can serve content for any scheme using resource handlers. Use CefRegisterSchemeHandlerFactory() to register scheme handler for http scheme and custom domain eg. "myapp.foo". Files can reside on local drive and be accessible through http://myapp.foo/. There is a question whether GA validates this domain. Even if, then you could register scheme handler for a real domain that you own for ex. myapp.com. Content still can be served locally for that domain using resource handler.

Show Visualforce page in an iframe on asp.net page

Can anyone tell me process of embedding Salesforce Visualforce page on ASP.NET page under an iFrame or through any other way, if you have.
SalesForce doesn't support CORS or JSONP. This is deliberate because they want you to use their stuff:
Connected Apps: for communicating with "headless" applications (web services).
Salesforce Canvas: for embedding external applications within a VisualForce page. I am not sure if this works the other way around. Communication (events) between your SalesForce app and your external app is done via JavaScript XHR proxies. I believe this means you may have to modify your existing app to include their JavaScript library.
Both Connected Apps and Canvas apps require security setup and authentication.
I am still trying to figure this out too. The SalesForce Canvas tutorials use applications hosted on Heroku (they acquired Heroku so they push it whenever they can)... although this makes the examples close-ended, it also adds extra steps.
check this out!
there's something called frontdoor.jsp
https://developer.salesforce.com/blogs/developer-relations/2014/03/see-your-visualforce-pages-on-tv-with-chromecast.html

how to use facebook connect in local host

Each developer is running IIS on his own machine. We all sit in separate physical location.
One developer develops the code using: http://localhost:8054/connectToFacebook.aspx
another developer develops the code using: http://localhost:80/virtualDirectory/connectToFacebook.aspx
etc.
I'd like the Facebook Connect authentication to work for all the developers.
Generally, the connect mechanism (login button with ajax dialog) does not work from localhost, as it requires a domain name.
Is it possible to make the Connect mechanism work - when watching the webpage from localhost? (or must I run the webpage be a publicly accessible domain name like dyndns?)
this tutorial shows you how to use the c# sdk w/ localhost. Hope that helps.
the easiest way is to make every dev on the team use the same url.
if u r using fb c# sdk, u can continue to use differnt url by implementing your own IFacebookApplication and depending on the request url change the appid and appsecret.

Resources