Integration of internal API for user verification and Validation

Hello all,

I am a little stuck, and I am sorry but I cant seem to get anyone to respond as I am sure everyone is distracted by the holidays. I read through a Facebook auth tutorial and I see there are some similarities to what I need to accomplish but I feel I just do not know the correct workflow.

What I am attempting to do is to use our inHouse user creation and validation API to create users and log users in. It is a simple API call;

userlogin - get
user - user
pwdhash - password
key - string key - header

createuser - post
user - user
pwdhash - password
useremail - users email
key - string key - header

I have used an APIform and have successfully verified and created a user. Once either a user is created or verified, our internal system responds with a unique identifyer key. I need to retrieve that key and use that key to allow access to certain parts of the application. Different level users have keys associated with their access level.

How do I go about setting this up and then redirecting the user to their assigned dashboard?

Second issue, when I assign the API form to a new page.ejs and I try to test the form in browser a page can not be located error happens.

Community Page
Last updated: