Hello guys,I'd like to build the authentication to my service based upon the authentication for another service.So basically there is another website which has a basic login form. As I am building my service for them but upon another stack (theirs is outdated, I am using JS) I'd like to offer the option to use the credentials from the old service. As the old service stays active, I just simply rebuild the login process and wrote a quick function which returns true/false based on whether the credentials right or not.Now I would like to add passport to my service and protect it with a jwt. I only found resources where ppl made a database call in the verify function which makes me believe I have to perform my auth request against the old service there again...? Is there any other possibility of verifying my jwt? I do not have a database and I don't want to spam the old service every time I verify the users token
Submitted August 07, 2018 at 03:57PM by roconf
No comments:
Post a Comment