Title: trigger auto login
Last modified: August 31, 2016

---

# trigger auto login

 *  [PCS Andy](https://wordpress.org/support/users/pcs-andy/)
 * (@pcs-andy)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/trigger-auto-login/)
 * Hi All,
    I have wp on an IIS 8.5 box (server 2012 R2) I’m trying to get chrome
   to auto login. I believe that I have got Chrome to pass through the credentials
   however wordpress is not utilising them. I have added site to group policy chrome
   whitelist and ie local intranet sites AND disabled anonymous removed negotiate
   from IIS authentication We have the AD integration plugin (working) users can
   manually login the site will remember them once they’ve logged on once (until
   password expires I assumes)
 * I’ve added the following function to our theme;
    [https://wordpress.org/support/topic/automatic-login?replies=4](https://wordpress.org/support/topic/automatic-login?replies=4)
   I have added the following to our header and login pages:
 *     ```
       <?php auto_login(); ?>
       ```
   
 * ie responds very well – auto logs in a valid user and users can’t log off
 * Chrome seems to ignore all of the auto login stuff and prompts the user –
 * I am pretty sure that chrome is passing the credentials through to IIS (with 
   anon access disabled, when I access the site using a non AD authenticated account
   I get a credentials prompt – not wp login page)
 * So it seems that IIS knows who I am, it is just not passed on to WP…
    P.S. you
   can probably tell I’m a sys admin, not a web dev… 🙂

The topic ‘trigger auto login’ is closed to new replies.

## Tags

 * [iis 8](https://wordpress.org/support/topic-tag/iis-8/)
 * [server 2012](https://wordpress.org/support/topic-tag/server-2012/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [PCS Andy](https://wordpress.org/support/users/pcs-andy/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/trigger-auto-login/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
