# Auth Existing Unlinked Users

This feature isn't new to Socialstream, but is a renamed version of the now deprecated ["Login on Registration"](/features/login-on-registration.md) feature.  <mark style="background-color:orange;">Please update your application to use this feature instead</mark>

Enable this feature if you wish to allow users to link a new provider to an existing user in your application without them being authenticated.

{% hint style="warning" %}
This feature can allow compromised social accounts unsolicited access to your users accounts.
{% endhint %}

To enable this feature, add the following to the `features` array of your `socialstream` config file:

```php
Features::authExistingUnlinkedUsers()
```


---

# 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/auth-existing-unlinked-users.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.
