# Global Login

You may have multiple pages where you allow users to authenticate with your application (such as a section at the bottom of your articles in a blog), then you may wish to avoid having to direct users to the `login`, or `registration` pages in order to authenticate them.

If this is the case, you can enable "Global Login" to allow users to authenticate from anywhere on your site. To do this, simply enable the following snippet to the `features` section of your socialstream config:

```php
Features::globalLogin(),
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.socialstream.dev/features/global-login.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
