I have an ESP8266 which talks to AWS IOT sending temperature data. This works normally with a static username and password like we have at home, but i have a guest ssid which is open but has a username and an static passphrase which prompts you with a login portal once you are connected to that guest to enter the username and passphrase.
I know that some more code is needed to get this working but please review mine and suggest.