# Auto login from Drupal to Node-Red UI

**URL:** https://discourse.nodered.org/t/auto-login-from-drupal-to-node-red-ui/60074
**Category:** General
**Tags:** security
**Created:** [19 March 2022 11:13 UTC](https://discourse.nodered.org/t/auto-login-from-drupal-to-node-red-ui/60074 "2022-03-19T11:13:00Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![terkaa](https://avatars.discourse-cdn.com/v4/letter/t/5e9695/32.png) [@terkaa](https://discourse.nodered.org/u/terkaa)
#### Post date: [19 March 2022 11:55 UTC](https://discourse.nodered.org/t/auto-login-from-drupal-to-node-red-ui/60074/3 "2022-03-19T11:55:39Z")

</div>

For editor I have already enabled Oauth2 and it is working. See my previous post: [Oauth2 with Drupal](https://discourse.nodered.org/t/oauth2-with-drupal/59975)

But now I would like to have similar for UI (Yes created flows). So instead of this popping up when iFrame is opened at Drupal. I would like it to login automatically if user is logged into drupal:

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/b/eb4e78ec2ab13fa2fd0f32b7243d7f7e790aa8c4.png)

Tero

---

_[View the full topic](https://discourse.nodered.org/t/auto-login-from-drupal-to-node-red-ui/60074)._
