Show HN: I built this reusable Auth Server to handle logins/signups to save time (github.com) 7 points by ngduc 6y ago ↗ HN
[–] 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 ago ↗ Hi kostarelo, The auth logic is here - 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 ago ↗ done.
[–] ngduc 6y ago ↗ Hi kostarelo, The auth logic is here - 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.
[–] edoceo 6y ago ↗ Is this like a stand alone auth system? (eg https://github.com/openthc/sso ) or must it be embedded in app? [–] ngduc 6y ago ↗ It can be both. a Login component (template) can be embedded or user can implement their own component and connect to AuthUI endpoints.
[–] ngduc 6y ago ↗ It can be both. a Login component (template) can be embedded or user can implement their own component and connect to AuthUI endpoints.
[–] karmakaze 6y ago ↗ package.json says "license": "MIT"Would be nice to have an explicit LICENSE file. [–] ngduc 6y ago ↗ Added. Thanks karmakaze!
8 comments
[ 20.3 ms ] story [ 366 ms ] threadAlso, 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.
Would be nice to have an explicit LICENSE file.