iOS Control Pages and Passwords

This forum is for questions about control pages.
rustyhodge
Posts: 54
Joined: Fri Nov 11, 2016 10:11 pm

iOS Control Pages and Passwords

Post by rustyhodge »

I'd like to add control pages to the home screen on my iPhone, but when I do, it always prompts me for a password on opening them.

Are there any good workarounds for this?
User avatar
DaveL17
Posts: 6884
Joined: Tue Aug 20, 2013 11:02 am
Location: Chicago, IL, USA
Contact:

Re: iOS Control Pages and Passwords

Post by DaveL17 »

I'm not seeing the same behavior. I just added an Indigo control page to my home screen (first loaded through Safari to create the shortcut). When I click the shortcut, the page opens without asking for a password.
I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]
rustyhodge
Posts: 54
Joined: Fri Nov 11, 2016 10:11 pm

Re: iOS Control Pages and Passwords

Post by rustyhodge »

Do you use iCloud Keychain with your phone and desktop? It seems like if you save the password on the Mac, it will not require it anymore on the phone.

But when I add the control page URL to my wife's phone, it still wants the password. It seems to remember it until the phone is restarted possibly. Not sure how long, but it will remember it for a while. Just not permanently when only accessed on the phone.
rustyhodge
Posts: 54
Joined: Fri Nov 11, 2016 10:11 pm

Re: iOS Control Pages and Passwords

Post by rustyhodge »

Also, I'm still running 7.2, maybe the newer version switched to cookie-based authentication and that's why it works for you?
User avatar
DaveL17
Posts: 6884
Joined: Tue Aug 20, 2013 11:02 am
Location: Chicago, IL, USA
Contact:

Re: iOS Control Pages and Passwords

Post by DaveL17 »

Hmmm. Not sure. I do use iCloud Keychain with all my devices (and I'm on Indigo 7.4). Also, I only tested when on my LAN; not sure what the result would be when attaching by WAN ( via VPN, etc.)
I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]
User avatar
McJohn
Posts: 653
Joined: Tue Dec 18, 2012 5:58 am
Location: The Netherlands
Contact:

Re: iOS Control Pages and Passwords

Post by McJohn »

iPhone iOs 16.1

We have the same problem as described in the first post:

At one iPhone all control pages are working perfect with Safari/saved to home screen, without asking for passwords again and again.
(This iPhone has also Indigo Touch installed).
But other users are always asked for the name and password. (It's a business solution).
Tried different solutions:

- http://Username:password@123.456.789.12 ... 0page%20II
(With this one the username and password are gone in the Safari link)
and every time when the user select the saved bookmark at the home screen, 10 seconds a black screen appears and he has to fill in all the credentials again.

- http://123.456.789.123:8176/controlpage ... 0page%20II
same problem and when this link is saved into the iPhone "passwords", only the IP address and port address is saved (also in the keychain of the Mac)

So, is there a solution to save the credentials of an Indigo Control page for use at the iPhone home screen? (without Indigo Touch).
ryanbuckner
Posts: 1108
Joined: Sat Oct 08, 2011 12:33 pm
Location: Northern Virginia
Contact:

Re: iOS Control Pages and Passwords

Post by ryanbuckner »

DaveL17 wrote:I'm not seeing the same behavior. I just added an Indigo control page to my home screen (first loaded through Safari to create the shortcut). When I click the shortcut, the page opens without asking for a password.
I'm happy to test this ... how do you create an indigo control page as your iPhone homepage?
User avatar
McJohn
Posts: 653
Joined: Tue Dec 18, 2012 5:58 am
Location: The Netherlands
Contact:

Re: iOS Control Pages and Passwords

Post by McJohn »

Hi,

I don't know if I understand your question correctly but you can save any Safari page into your iPhone homescreen.
So, in the Indigo case: http://IPnumberIndigoServer:8176/yourcontrolpagename

John
User avatar
DaveL17
Posts: 6884
Joined: Tue Aug 20, 2013 11:02 am
Location: Chicago, IL, USA
Contact:

Re: iOS Control Pages and Passwords

Post by DaveL17 »

Yes -- load up the web page you want to use and then select ---> Share ---> Add to Home Screen.
I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]
ryanbuckner
Posts: 1108
Joined: Sat Oct 08, 2011 12:33 pm
Location: Northern Virginia
Contact:

Re: iOS Control Pages and Passwords

Post by ryanbuckner »

DaveL17 wrote:Yes -- load up the web page you want to use and then select ---> Share ---> Add to Home Screen.
Ah ok it's just a shortcut. I am also prompted for a password when using this. Why not just use the app at this point?
User avatar
DaveL17
Posts: 6884
Joined: Tue Aug 20, 2013 11:02 am
Location: Chicago, IL, USA
Contact:

Re: iOS Control Pages and Passwords

Post by DaveL17 »

Honestly, it depends very much on what you're looking to do. The Indigo Touch app works great (I use it all the time). I also use the Home Remote app to add certain Action Groups to my iOS widgets page (the ones I use daily). Home Remote is also capable of supporting Siri shortcuts--but I don't really use that feature too often TBH.

But more to the point, Indigo also comes with a built-in web server and -- if you're so inclined -- you can serve custom content (with or without credentials) that opens up a world of possibilities. The Indigo Web Server (IWS) architecture is quite powerful and a wonderful feature. Here's a sneak peek at a personal project (very much a work in progress) which runs on the Indigo Web Server. It uses a combination of a lot of different tools but essentially runs on HTML and JavaScript (the first two viewed here in macOS Safari, and the third on iOS). This site requires credentials to be entered on first load, but not again after that (unless the cache is deleted).
Screen Shot 2022-11-11 at 9.40.02 PM.png
Screen Shot 2022-11-11 at 9.40.02 PM.png (321.83 KiB) Viewed 3778 times
Screen Shot 2022-11-11 at 9.44.26 PM.png
Screen Shot 2022-11-11 at 9.44.26 PM.png (186.63 KiB) Viewed 3778 times
IMG_5469.PNG
IMG_5469.PNG (270.98 KiB) Viewed 3778 times
I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]
ryanbuckner
Posts: 1108
Joined: Sat Oct 08, 2011 12:33 pm
Location: Northern Virginia
Contact:

Re: iOS Control Pages and Passwords

Post by ryanbuckner »

That makes sense. So you're really using it for the content served from the web server rather than "Control Pages" proper.
User avatar
DaveL17
Posts: 6884
Joined: Tue Aug 20, 2013 11:02 am
Location: Chicago, IL, USA
Contact:

Re: iOS Control Pages and Passwords

Post by DaveL17 »

Right. There are several folders under the /Web Assets/ folder -- I place nearly all of my code under the /static/ folder (which requires authentication) and certain select files under the /public/ folder (which doesn't). The latter is used for things like application icons and such.
I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]
Post Reply

Return to “Control Pages”