Use own _auth if configured
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3502751. --> Reported by: [waropd](https://www.drupal.org/user/3695674) Related to !22 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>When configuring a <code>_auth</code> in routing, that configuration does not get used.<br> It defaults to the provider ids defined in code.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>1. Create a route with custom _auth<br> 2. Try to use that auth provider.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>If _auth is configured on the custom route, use this instead of the default providers</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>none</p> <h3 id="summary-ui-changes">User interface changes</h3> <p>none</p> <h3 id="summary-api-changes">API changes</h3> <p>none</p> <h3 id="summary-data-model-changes">Data model changes</h3> <p>none</p>
issue