Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
22.39k stars 1.54k forks source link

Invalid Credentials #4151

Closed pcar-13 closed 2 years ago

pcar-13 commented 2 years ago

I started building yesterday and today when I tried to log back in, it is telling me I had invalid credentials; I tried resetting my password and when I did, it still won't let me log in, tells me I have invalid credentials

Screen Shot 2022-01-22 at 9 40 52 AM

What is wrong with the site? is it the server or what?

Rory-Powell commented 2 years ago

Hey @pcar-13, we had an outage yesterday between ~12:30-13:00 GMT, would this correspond with when you were having login issues? I would recommend trying the password reset flow once more, and if you still experience an issue we can look further into this if you forward your email address to rory@budibase.com

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

nick-walt commented 2 years ago

Got the same thing just now trying to login after creating and verifying a new account. As the email is validated by the response from Budibase I tried to reset the password but got an "unable to reset password" error with no explanation. So, I'm recognised by the system but at the same time it doesn't recognise my credentials and because it is in an impossible state all other actions fail, like trying to reset the password.

This feels like the kind of impossible state that is often associated with Booleans and instead something like algebraic Union types can be used if Typescript is available. Union types would make it easy to make this impossible state impossible.

I guess this is why people are asking for Typescript in Svelte. Svelte would rock with Union types under the hood (so would any language). They could simplify the syntax even more than how it is exposed in Typescript, which is very verbose (when compared to a language like Elm or Haskell).

Function and type composition could be embraced in Svelte so much better than in JS or TS.

aptkingston commented 2 years ago

I did actually experience this myself with the proprod env, exactly as Nick described. Registered and verified a new account, but then was not allowed to log in. Tried to reset the password, which also fails, so basically totally locked out. I assumed it was just something to do with the env, but maybe there is something going on.

Rory-Powell commented 2 years ago

For users currently experiencing authentication problem please follow this issue https://github.com/Budibase/budibase/issues/7081