Load HTML page automatically when user connects to router - url-routing

I'm working on a wifi hotspot project that allows the users to download an e-books. The main idea is:
The user connects to the wifi router.
The router loads an HTML page automatically on the user device.
The user downloads the e-books from the page.
The HTML page is hosted inside a Raspberry Pi. The router should redirect the user to the Rasp IP. Is there a software, or a configuration that handle this redirect?

Related

Can't redirect from facebook embedded browser to mobile default browser

I'm having issues openning link to my website that I share on facebook.
By default, any link users open from facebook mobile app are opened in the facebook embedded browser.
This browser causing issues to my app so I'm trying to redirect the users to their default mobile browser, but I don't know how.
I've tried many solutions, but none have worked, the closes one was trying to do:
window.location.href="mywebsiteurl", but this prompted message on facebook app that I'm trying to leaving the app, but after accepting would leave the page just idle.

Login using Azure from a Capacitor built app opens a new login window outside the app

I am using capacitor 3.0 to build a native iOS app with React.
The app's user is expected to login first.
I want the user's login to be handled by Microsoft Azure ActiveDirectory B2C and followed this tutorial to set this up:
https://learn.microsoft.com/en-us/azure/active-directory/develop/tutorial-v2-react
Furthermore, Microsoft offers a Microsoft Authentication Library (MSAL, https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-browser/docs/login-user.md), which for a login redirects to a screen managed by microsoftonline.com to take the username and password. This is a standard login interface by Microsoft, which can be custom-branded but I have not made that change. Just using the standard MS UI.
This redirect works fine in a Web/desktop browser as it opens the Microsoft login screen within the same page without opening a new browser window.
However, when accessing the login from within the Capacitor built iOS app, the user is taken to an external browser for the login, which breaks the user experience.
Any ideas on why capacitor launches a browser for login when this is not the case with the regular React web browser (non-Capacitor)?

How to authenticate Gatsby Site for all pages using passport?

I have a Gatsby-React application in which I have enabled passport authentication with express server. How can I enable the passport authentication for all the pages for my gatsby application. The folder structure is as follows
app.js //Express server using passport stratagy
src/pages/welcome //Passport authentication is called when navigating from this page to profile
src/pages/profile //redirects to this page after authentication
/about //No Authentication
/index.js //No Authentication
src/components //My components folder
gatsby-node.js
...
As you may noticed that when we try to navigate to profile page from welcome page it authenticates by redirecting to the express (app.js) server strategy. Subsequently passport callback redirects to the profile page and it receives the user information. First wrong thing with this approach is that the app allows me to visit url.com/profile page when directly giving the url.com/profile in the address bar (Obviously the profile page will not have the user information).
To handle this I'm planning to give authentication for all the pages (including home page, about and welcome). So how can I effectively authenticate all the pages (if not authenticated).

DNN CMS login Issue

I have 3 DNN webservers behind a Citrix Load Balancer, the load balancer is configured for SSL Offloading.
I discovered that the login link doesn't work anymore. It just refreshes whenever it is clicked. The URL of the login is: Login. The link when clicked supposed to take users to the page where they will login.
When I changed d citrix load balancer to HTTP, everything thing works normal. I.e Login. Opened the Login Page.
Any suggestion on how to resolve this issue will be appreciated.

E-mail Verification with Phonegap Cordova App

I have a phonegap cordova application wherein the registration process is the following:
Register
Email Verification
Redirect to web application when email link is clicked.
Problem
When the user clicks the link to redirect, it needs to open the browser. How do I make it so it opens the application instead of opening the browser?
If you have control over your Application's back-end, instead of sending a link to your user's email to verify, why not change the process itself and send out a verification code that your user can copy and paste back to the application and then verify it there.

Resources