# Web dev - user authentication

**URL:** <https://forum.inductiveautomation.com/t/web-dev-user-authentication/114025>\
**Category:** Ignition\
**Tags:** ignition81, webdev\
**Created:** [February 18, 2026, 6:29am UTC](https://forum.inductiveautomation.com/t/web-dev-user-authentication/114025 "2026-02-18T06:29:08Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![ragha0211](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@ragha0211](https://forum.inductiveautomation.com/u/ragha0211)\
**Post date:** [February 18, 2026, 6:29am UTC](https://forum.inductiveautomation.com/t/web-dev-user-authentication/114025/1 "2026-02-18T06:29:09Z")

</div>

How to create a login and logout page in webdev module

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [February 18, 2026, 7:55am UTC](https://forum.inductiveautomation.com/t/web-dev-user-authentication/114025/2 "2026-02-18T07:55:27Z")

</div>

What do you want to do exactly ?  
There's already a built in login screen with perspective.

---

<div class="post-metadata">

**Author:** ![ragha0211](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@ragha0211](https://forum.inductiveautomation.com/u/ragha0211)\
**Post date:** [February 18, 2026, 8:45am UTC](https://forum.inductiveautomation.com/t/web-dev-user-authentication/114025/3 "2026-02-18T08:45:03Z")

</div>

I develop page through webÐev module using html, CSS and JS.  
I call the webpage in perspective as iframe. Using project properties I create a login for the page  
for the first time login user .  
how to implement a logout and login what login user and password i apply that user will show

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/a/3a73e912586dd3939b7766e203ce079f5f45ae20.png)

only take a login user if change a login user not change because the section refresh.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/8/48f27a8a26e9300e0e486df6fd8488b1b8dfbe9f.png)

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [February 18, 2026, 9:08am UTC](https://forum.inductiveautomation.com/t/web-dev-user-authentication/114025/4 "2026-02-18T09:08:14Z")

</div>

But... why ? what are you trying to solve ?  
You're only reinventing the wheel there, all of that is already handled by perspective !

---

<div class="post-metadata">

**Author:** ![diamond](https://avatars.discourse-cdn.com/v4/letter/d/e79b87/32.png) [@diamond](https://forum.inductiveautomation.com/u/diamond)\
**Post date:** [February 18, 2026, 9:32am UTC](https://forum.inductiveautomation.com/t/web-dev-user-authentication/114025/5 "2026-02-18T09:32:23Z")

</div>

You are reinventing the wheel

---

<div class="post-metadata">

**Author:** ![ragha0211](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@ragha0211](https://forum.inductiveautomation.com/u/ragha0211)\
**Post date:** [February 18, 2026, 9:35am UTC](https://forum.inductiveautomation.com/t/web-dev-user-authentication/114025/6 "2026-02-18T09:35:10Z")

</div>

without perspective using webdev module how to implement login? is it possible?

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [February 18, 2026, 10:05am UTC](https://forum.inductiveautomation.com/t/web-dev-user-authentication/114025/7 "2026-02-18T10:05:34Z")

</div>

Well, you can look up on the internet how authentication is handled, but really it's a complex subject and you WILL NOT implement a better solution than the built-in one.  
So just use perspective and its authentication system, unless you have a VERY good reason not to, but I asked twice already and you apparently can't come up with a reasonable answer.  
Don't reimplement yourself what's already there.

---

<div class="post-metadata">

**Author:** ![ragha0211](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@ragha0211](https://forum.inductiveautomation.com/u/ragha0211)\
**Post date:** [February 18, 2026, 12:44pm UTC](https://forum.inductiveautomation.com/t/web-dev-user-authentication/114025/8 "2026-02-18T12:44:44Z")

</div>

can you tell me using perspective how do login ?

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [February 18, 2026, 1:20pm UTC](https://forum.inductiveautomation.com/t/web-dev-user-authentication/114025/9 "2026-02-18T13:20:51Z")

</div>

It's built-in, there's nothing to do except enable it:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/8/4843751870473f1dab9084057b2750651637b9fd.png)

Obviously you'll also need a user source so users can actually authenticate...

You need to read the doc / watch the university videos.

---

<div class="post-metadata">

**Author:** ![ragha0211](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@ragha0211](https://forum.inductiveautomation.com/u/ragha0211)\
**Post date:** [February 18, 2026, 1:29pm UTC](https://forum.inductiveautomation.com/t/web-dev-user-authentication/114025/10 "2026-02-18T13:29:39Z")

</div>

Thank you for the solution

---

<div class="post-metadata">

**Author:** ![Chris\_Bingham](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@Chris\_Bingham](https://forum.inductiveautomation.com/u/Chris_Bingham)\
**Post date:** [February 18, 2026, 1:35pm UTC](https://forum.inductiveautomation.com/t/web-dev-user-authentication/114025/11 "2026-02-18T13:35:35Z")

</div>

WebDev is typically used to expose Ignition data to outside consumers/publishers via HTTP GET/POST requests, without any visualization aspect.  
See this section in the docs with insight as to handling security within WebDev:  
[WebDev: Security Settings](https://www.docs.inductiveautomation.com/docs/8.1/ignition-modules/web-dev#security-settings)  
Are you able to share your original objective?

---

<div class="post-metadata">

**Author:** ![ragha0211](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@ragha0211](https://forum.inductiveautomation.com/u/ragha0211)\
**Post date:** [February 19, 2026, 2:50am UTC](https://forum.inductiveautomation.com/t/web-dev-user-authentication/114025/12 "2026-02-19T02:50:21Z")

</div>

I developed a page using HTML in the Web Dev module. To open that page, login is required. In Perspective, I added the page link inside an i frame and enabled authentication in the properties. How can I implement a logout function? Once a user logs in, that user remains in the session and I can’t log out. How can I log out and log in with another user ID?

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [February 19, 2026, 7:27am UTC](https://forum.inductiveautomation.com/t/web-dev-user-authentication/114025/13 "2026-02-19T07:27:21Z")

</div>

I suggest you rework your page to NOT use webdev, unless absolutely necessary. Perspective is the module that handles building web pages.

And I'll repeat: watch the Inductive University videos, and USE THE DOC:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/2/22d24ee27c3bb85e59fc826e57ce60b6a0d43eeb.png)

> **[system.perspective.logout | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.3/appendix/scripting-functions/system-perspective/system-perspective-logout)**
>
> Triggers a logout event, which will log the user out.

---

<div class="post-metadata">

**Author:** ![mdevos](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mdevos/32/82490_2.png) [@mdevos](https://forum.inductiveautomation.com/u/mdevos)\
**Post date:** [February 19, 2026, 8:13am UTC](https://forum.inductiveautomation.com/t/web-dev-user-authentication/114025/14 "2026-02-19T08:13:36Z")

</div>

I do not disagree with you, but I believe that if IA designed the module with that intention, naming it "webdev" was a poor decision. For better or for worse, what @ragha0211 did _was_ webdev. I wouldn't blame anyone for believing that was the intended use of the module, especially given that Perspective provides no "correct" way to introduce your own HTML short of developing a Perspective-targeting module, which is not something the core customer base is expected to even consider doing.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 19, 2026, 1:43pm UTC](https://forum.inductiveautomation.com/t/web-dev-user-authentication/114025/15 "2026-02-19T13:43:32Z")

</div>

WebDev is a perfectly appropriate name for a module that is intended to support web _ **APIs** _.

The whole point of Perspective is to make it easy for non-web developers to make real-time graphics and user interfaces. IA chooses not to offer direct HTML delivery (or JS) in their React-based solution. (Because that leads to a support $$ nightmare.)

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [February 20, 2026, 8:24am UTC](https://forum.inductiveautomation.com/t/web-dev-user-authentication/114025/16 "2026-02-20T08:24:54Z")

</div>

I'd blame someone for not reading the docs about what the platform and its modules were designed for before jumping in head first.
