API & Authentication

Posted 6 months ago by cmdobueno

Alright, got a bit of an interesting question.

I have two systems, 1 is an API, the other is a frontend. I am trying to figure out how to stay logged in on the frontend system. I have given thought to using the users table, and when a user connects to the API, does their authentication, they front-end system will just 'create' a user for them and authenticate them that way. Storing the required tokens and all that.

I am just not sure if that is reasonable or not.

Thanks

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.