You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 25, 2019. It is now read-only.
Hello, I try to implement change user's password functionality in my app.
I try use patch route /v1/user/:userid/password, but when I try use it, it return 'Forbidden'.
But when I register new user (which don't have 'authority' role) I am not able to obtain access token with realm scope. If I log-in using account with authority role with same config - token with realm scope is returned
I use anvil-connect.js to get access token.
What could be wrong?
Thanks
The text was updated successfully, but these errors were encountered:
If I understand it correctly, there are these routes for administrator and not for the user.
If so, what is recommended way for user to change password?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, I try to implement change user's password functionality in my app.
I try use patch route /v1/user/:userid/password, but when I try use it, it return 'Forbidden'.
When I look at the sources, it looks like token should have 'realm' scope
https://github.com/anvilresearch/connect/blob/master/routes/rest/v1/users.js#L25
But when I register new user (which don't have 'authority' role) I am not able to obtain access token with realm scope. If I log-in using account with authority role with same config - token with realm scope is returned
I use anvil-connect.js to get access token.
What could be wrong?
Thanks
The text was updated successfully, but these errors were encountered: