How do you manage user details updates, for instance, if a user wants to update his password? Which service has the responsibility of persisting the new values? To which service does the gateway forward this request?
Thanks for the question.. In this tutorial we discussed only the options to SignIn and Login using username/password. Currently I have not provided the functionality to update the password. But if required we can create an endpoint here github.com/microservice-oauth-security/user-authentication-service/tree/master/src/main/java/org/codewithanish/controller and implement a service layer to update the password. This service layer can in turn call github.com/microservice-oauth-security/user-authentication-service/blob/master/src/main/java/org/codewithanish/repository/UserDetailRepository.java to update this password in the database.
Yes sure, as seen in the technical design, I have two more modules to be completed (microservice and frontend).. once completed i will provide the the completed source code in description..
so good content
How do you manage user details updates, for instance, if a user wants to update his password? Which service has the responsibility of persisting the new values? To which service does the gateway forward this request?
Thanks for the question.. In this tutorial we discussed only the options to SignIn and Login using username/password. Currently I have not provided the functionality to update the password. But if required we can create an endpoint here github.com/microservice-oauth-security/user-authentication-service/tree/master/src/main/java/org/codewithanish/controller and implement a service layer to update the password. This service layer can in turn call github.com/microservice-oauth-security/user-authentication-service/blob/master/src/main/java/org/codewithanish/repository/UserDetailRepository.java to update this password in the database.
Nice content. If you don't mind can you share source with me?
Yes sure, as seen in the technical design, I have two more modules to be completed (microservice and frontend).. once completed i will provide the the completed source code in description..