Is it possible for me to create an authenticated application on Appsmith?

I’d like to authenticate users on my application before they can access the pages for the application I built on Appsmith.

How do I do that?

Answers from @Nikhil

There are 2 to do this depending on whether

  • You would like to use Appsmith’s authentication
  • You have your own authentication

If you are using Appsmith’s authentication, you can invite a user using the share button inside the application and they will receive an email inviting them to use the app with the role you specified.

If you have your own authentication, you can create a login page with a button that hits your authentication API and stores the access token onSuccess using the storeValue function.

This access token can now be sent to subsequent API calls by referencing it in the headers as
{{ appsmith.store.accessToken }}

1 Like

Hello @vihar could you explain better this second process? Do you have any documentation about that? Appsmith has any option to create users by api regardless by UI? Thanks for now.

Hey @rodrigoscdc, you can set up custom authentication on Appsmith using your own APIs. Here’s a detailed guide.