3 ms·
I only see code about Post and Users. Where's the actual login/register logic? Also, how's the JWT token is being transferred to the main app? More information
by kostarelo 6y ago
I only see code about Post and Users. Where's the actual login/register logic?
Also, how's the JWT token is being transferred to the main app? More information on that would be great I think to include in your README.
- ngduc 6y agoHi kostarelo, The auth logic is here - https://github.com/authui/authui-server/blob/master/src/types/Mutation.ts https://github.com/authui/authui-server/blob/master/src/type... After calling the login api, it will respond with a token which contains a valid userId. I am updating the Readme. Thanks.
- ngduc 6y agodone.