@gl5, do not exactly understand what you are looking for... It all depends on your setup. From the example I take that you use your local / home Wifi network and that's where your Espruiono hooks onto and you also connect with you computer/tabled or phone to that Wifi network, from which Espruino Wifi connection gets its ip, the ip you have to enter into the browser on your computer /tablet or phone.
You could go in a different way and start Espruino as access point first with its own SSID and password - like another Wifi network - its own. After connecting with your your computer /tablet or phone to that Espruino Wifi network, you would serve a (secure - SSL) page that asks for a the SSID and password of you home network, and Espruino would then stop its access point and connect to your local / home Wifi network - as it does now. If user id and password would fail, Espruino would return back as access point with its own SSID and password and you would have to start over.
One challenge though still remains: you have to have Espruino's IP address so you can connect... (you can look it up on your modem/router). Since the IP address may change - it is DHCP after all - you may give your Wifi node a host name, and you would connect with that name instead of the IP - see http://www.espruino.com/Reference#t_l_Wifi_setHostname
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@gl5, do not exactly understand what you are looking for... It all depends on your setup. From the example I take that you use your local / home Wifi network and that's where your Espruiono hooks onto and you also connect with you computer/tabled or phone to that Wifi network, from which Espruino Wifi connection gets its ip, the ip you have to enter into the browser on your computer /tablet or phone.
You could go in a different way and start Espruino as access point first with its own SSID and password - like another Wifi network - its own. After connecting with your your computer /tablet or phone to that Espruino Wifi network, you would serve a (secure - SSL) page that asks for a the SSID and password of you home network, and Espruino would then stop its access point and connect to your local / home Wifi network - as it does now. If user id and password would fail, Espruino would return back as access point with its own SSID and password and you would have to start over.
One challenge though still remains: you have to have Espruino's IP address so you can connect... (you can look it up on your modem/router). Since the IP address may change - it is DHCP after all - you may give your Wifi node a host name, and you would connect with that name instead of the IP - see http://www.espruino.com/Reference#t_l_Wifi_setHostname