Fetch REST API with user token auth

Hi, I have a big project incoming, and I am thinking between Divhunt, Webflow and Framer. I would prefer to do it in Divhunt, if possible, and that’s what I want to ask here first.

So, my partner created a custom backend database. I know that it is possible to fetch data from that database via API in Divhunt. However, I need to build a dashboard where every user can see only his own data, and nobody can see anyone else’s data. My partner says it can easily be done by inserting a unique user token inside of header of an API request, and then only data of that particular user would be shown.

Is this possible to do in Divhunt? If yes, how to create users and let them log in and automatically see just their own data (using method described above)?

Hi @ljubo

For something like this you would need to have members (login/register) for your website. Currently Divhunt does not have production-ready members, but we could activate it while in development for your website only. That means you would be able to have login/register/recovery for your visitors. But since it is in development, some features are missing.

We are currently working on this (membership) and the estimate is 1-2 months.

Each user has it’s own ID, name, email, etc, only thing to consider what type of unique user token should be sent over header, is it auto-generated from our system or somehow you need to store different token for each member being registered?

1 Like