Skip to content

Authentication

One of the benefits of using Inertia is that you don't need a special authentication system such as OAuth to connect to your data provider (API). Also, since your data is provided via your controllers, and housed on the same domain as your JavaScript components, you don't have to worry about setting up CORS.

Rather, when using Inertia, you can simply use whatever authentication system you like, such as solutions based on Rails' built-in has_secure_password method, or gems like Devise, Sorcery, Authentication Zero, etc.