I am a new developer of https://getstream.io/. I am using NodeJS version. I am able to run the example Example, shows feed
, activity
, notification
and profile
. Now, I am trying to manage user profile authentication and trying to add a login and registration page with that project but I am unable to do that. Any help is appreciated.
Asked
Active
Viewed 463 times
3

ferhatelmas
- 3,818
- 1
- 21
- 25

user1629977
- 437
- 1
- 5
- 21
-
3Possible duplicate of [Users auth and profils in getstream.io](https://stackoverflow.com/questions/42525101/users-auth-and-profils-in-getstream-io) – Dwight Gunning Mar 19 '18 at 07:11
1 Answers
0
You need to build a back-end application to manage the connection between your front-end and the Stream API.
Then, after creating a user, just get the user's token (using the createUserToken
function.
When you create a user, you can pass the password information in the data object and when you create an endpoint for authentication (ie: retrieving the user's token) don't forget to remove this information from the response.
Hope it helps =)

Rafael Cavalcante
- 407
- 5
- 13