Forgot Password for WebThings

Hi ,
I forgot my WebThing Password. Can anyone help me to reset it.

Thanks
Satish

Your password is kept only on your gateway, so nobody else can reset it for you. However, you can do it yourself

See this issue: https://github.com/mozilla-iot/gateway/issues/1945

People often forget their passwords. we need to add a mechanism either to retrieve or recreate.
Hope we address this in our future releases.

Are you volunteering? :wink:

I’m still not sure of the best way to do this. The usual method of sending a forgotten password email requires running a mail server. But because the gateway UI is self-hosted rather than a centralised cloud service, it’s difficult to know how to authorise the use of that mail server and not accidentally create an open spam relay.

In my experience the usual way to reset your password on consumer wireless routers is to do a factory reset!

Yes , I am volunteering.
Aug 17th I am presenting on the WebThings to the IoT Users Club meetup Community.

I think we need to rethink on this as all the user data will be lost once we do a factory reset. If user configured 5 to 10 devices , he need to do it again.

If you have any ideas for how to implement this, please add them to this issue: https://github.com/mozilla-iot/gateway/issues/95

It’s something we’ve wanted to do for a long time, but we couldn’t think of a good way to do it, particularly for users who have chosen not to use the tunneling service.

Presumably this needs to be done outside the regular UI since if the password is forgotten then the user can’t login.

Providing a script to perform the appropriate SQL command seems like one reasonable approach.

We don’t actually need to run a mail server, we just need to know how to access one. So we’d to know the SMTP server and login credentials (similar to what an email client would need).

Providing an offline script to reset the password will help