As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
Hello, I am building an app for an exam and I have troubles login users. The app is using Angular 9 as front-end and angular-kinvey-sdk v.4.2.5. Signup function in the UserService is performing login after registering the user, but when I try to login with the same user I get "Invalid credentials" error. When I add the user directly in the Users collection there is no problem login it. After signup the password in the response is hashed and when I copy it, I can login with the string. I have been researching the problem and trying different approaches but nothing worked by now. Appreciate the time taken. Thanks, Vanya
Best Answer
P
Pranav J
said
over 3 years ago
Hey Vanya,
Copying your comment here just to complete the loop:
" Hi, Pranav!
I looked up the register component, the problem was a form builder group used for validation password and confirm-password. I think I fixed it.
Please review our sample project for Angular SDK on this link. Also, please create a new app on the console for testing this since I see all other apps are locked after 30 days.
If this doesn't help, please let me know the Kid of the app environment for which you are facing this issue. When you log in on the console, you will see the dashboard. Just click on the 3 vertical dots next to the app name and you will find the app key there.
Thanks,
Pranav
Kinvey
P
Pranav J
said
over 3 years ago
Hi Vanya,
I reviewed server logs and found that there are both successful and unsuccessful login requests. I think the issue is wrong credentials used. For successful login requests, we found that the password provided is null. So I think the issue is that when creating the user, the password that was/got passed is null. In this case, you get a autogenerated password.Can you please share your sample project so that we can review your code for user signup as well as login operations and investigate this further?
Thanks,
Pranav
P
Pranav J
said
over 3 years ago
Answer
Hey Vanya,
Copying your comment here just to complete the loop:
" Hi, Pranav!
I looked up the register component, the problem was a form builder group used for validation password and confirm-password. I think I fixed it.
Vanya Dimitrova
Hey Vanya,
Copying your comment here just to complete the loop:
" Hi, Pranav!
I looked up the register component, the problem was a form builder group used for validation password and confirm-password. I think I fixed it.
Thank you!"
Thanks,
Pranav
Kinvey
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstPranav J
Hi Vanya,
Please review our sample project for Angular SDK on this link. Also, please create a new app on the console for testing this since I see all other apps are locked after 30 days.
If this doesn't help, please let me know the Kid of the app environment for which you are facing this issue. When you log in on the console, you will see the dashboard. Just click on the 3 vertical dots next to the app name and you will find the app key there.
Thanks,
Pranav
Kinvey
Pranav J
Hi Vanya,
I reviewed server logs and found that there are both successful and unsuccessful login requests. I think the issue is wrong credentials used. For successful login requests, we found that the password provided is null. So I think the issue is that when creating the user, the password that was/got passed is null. In this case, you get a autogenerated password. Can you please share your sample project so that we can review your code for user signup as well as login operations and investigate this further?
Thanks,
Pranav
Pranav J
Hey Vanya,
Copying your comment here just to complete the loop:
" Hi, Pranav!
I looked up the register component, the problem was a form builder group used for validation password and confirm-password. I think I fixed it.
Thank you!"
Thanks,
Pranav
Kinvey
-
How do I use Kinvey in my web app?
-
Is it safe to include keys/secrets in my client-side JavaScript app?
-
Why is the activeUser null even though I am logged in?
-
Login does not work even though credentials are valid.
-
Social login doesn’t work.
-
Appending objects to an Array (HTML5 - JS)
-
New to node.js - need bootstrap to downloadfiles from Kinvey
-
Problem with Aggregation/Grouping
-
Internal Server Error using Twitter Sign Up
-
Data Store
See all 315 topics