Advanced Concepts

Authentication

Stellify builds upon Laravel's excellent authentication facilities to make authenticating access to your application even easier and more intuitive.

Overview

If you're dealing with authentication on your local machine then working with Auth within Stellify is no different to working with Laravel itself in terms of what takes place on the server, however, for security reasons working with auth in the Stellify Editor is restricted to some degree in ways which we'll discuss here.

Simulating signed in users

You should know!

If you are using the Stellify Editor to test authentication then you must be connected to your own external database.

In order to simulate a test user sign in session within the editor you simply have to add the user id of a valid user that exists in your Users table to the query string i.e. ?user_id={user_id}. Doing this will result in any further calls that are made using the Auth facade deferring to the user you have set.

You can review Authentication with Laravel in full here.