Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat]: Add a change password function to utils #1426

Open
BobLouderback opened this issue Jan 7, 2025 · 2 comments
Open

[Feat]: Add a change password function to utils #1426

BobLouderback opened this issue Jan 7, 2025 · 2 comments
Assignees
Labels
Javascript Frontend Pull requests that update Javascript code

Comments

@BobLouderback
Copy link

I need to programmatically create a way for users to change their password inside of my app.

I would like to create a form with fields such as "old password", "new password", "retype new password", and then pass the old password and the new password to the function to have the system change the password.

I've tried the userPassword APIs, but they are non-existent in my self-hosted server.

@martkaczmarek
Copy link
Contributor

What do you mean exactly by non-existent" API?

If you go to /api/docs/webjars/swagger-ui/index.html#/User%20Password%20APIs you will see the whole endpoint configuration. Does it not work?

Also, what version are you using?

@FalkWolsky
Copy link
Contributor

In our community hours we did find, that in the Display of the Lowcoder API in the Query Editor for an unknow reason exactly the password change APIs were not displayed. However, for the case that Bob needs, the API is not the right chouise. Reason is, that API works as "impersonated user". And when Bob uses "His API Key" then every user of the app trying to reset password (under the hood by the API), it would be always Bob, who try to reset his password.

We need to offer a local way, that is trigger-able for the actual current user. In the editor and the admin area, naturally users of Lowcoder can do this already via UI. But if you want to offer this possibility on a Lowcoder App itself - then the described functionality is indeed missing.

@FalkWolsky FalkWolsky added the Javascript Frontend Pull requests that update Javascript code label Jan 13, 2025
@FalkWolsky FalkWolsky moved this to 🆕 New in Lowcoder Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Javascript Frontend Pull requests that update Javascript code
Projects
Status: 🆕 New
Development

No branches or pull requests

4 participants