WeWeb x Baserow portal - questions regarding authentification

Are you using our SaaS platform (Baserow.io) or self-hosting Baserow?

SaaS

What do you need help with?

Hello everyone
I’m looking to build a portal between WeWeb and Baserow.
I want to use Baserow as the main. source of data and some specific internal tools (with applications custom built) and WeWeb for external users since our designers team is more happier with.
I’ve done some great stuff to display data but i’m facing a new challenge, authenticated users (which are not baserow users, they would have displayed info and forms).

How do you think i could build that ?
Should i use a third party for authentification ? like auth0 ?

Thanks for you help !

Hi,

Just to make sure that I understand your question:

  • You have a Baserow database containing user information like their name, e-mail and password with optionally a user role?
  • You want to use that information to authenticate users in a WeWeb application?

My suggestion would indeed be to use a third party tool for authentication like auth0. We will need to sync your Baserow users database with an auth0 user store.

An alternative without third party tool is creating a new Baserow application and create a user source for that application. This user source needs a name, e-mail and password for the user.

You can check through the endpoint user_source_token_auth if the credentials offered by the user are valid. In WeWeb, it might be possible to implement this using Token Based Auth, but this is something that needs te be tested.

1 Like

That’s mostly it but this users won’t be “Baserow users”, they will only use WeWeb.

Sure, they don’t need to be Baserow users. The only thing you need in Baserow is a table with a Name field (Single Text), E-mail address (Email) and a Password (Password field). The information in the password field is stored encrypted in Baserow.

In short: all the records in that table don’t need to be Baserow users in order to use them in an application.

1 Like

Nice !

I’ll check this out and sort out how to sync Auth0 and this users :wink: