# Extending Authentication Profile

**URL:** <https://forum.inductiveautomation.com/t/extending-authentication-profile/28006>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [September 4, 2019, 3:27pm UTC](https://forum.inductiveautomation.com/t/extending-authentication-profile/28006 "2019-09-04T15:27:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tanuj](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tanuj/32/10531_2.png) [@tanuj](https://forum.inductiveautomation.com/u/tanuj)\
**Post date:** [September 4, 2019, 3:27pm UTC](https://forum.inductiveautomation.com/t/extending-authentication-profile/28006/1 "2019-09-04T15:27:10Z")

</div>

We would like to implement our own custom login mechanism for Vision Clients, Is there a way we can extend the Authentication Functionality to create our own authentication profile that supports our own specific way of logging in?

If yes, how can we proceed with this? I already checked the SDK documentation but could not find much details.

Thanks.

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [September 4, 2019, 3:47pm UTC](https://forum.inductiveautomation.com/t/extending-authentication-profile/28006/2 "2019-09-04T15:47:52Z")

</div>

Maybe I misunderstood your question, but it seems that you can do this

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/484fdc972342a045559c17063274fa0d76f9a722.png)  
I created a custom login page for some of my clients by creating a main window that has auto login to a profile with no authorities. From there I run a project script on sign in to run any authentications and run any other script needed like navigating to the real main window for the project

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [September 4, 2019, 4:26pm UTC](https://forum.inductiveautomation.com/t/extending-authentication-profile/28006/3 "2019-09-04T16:26:52Z")

</div>

You can create a custom User Source type, by creating a class that implements the [`UserSourceProfile`](http://files.inductiveautomation.com/sdk/javadoc/ignition79/795/com/inductiveautomation/ignition/gateway/user/UserSourceProfile.html) interface (I would suggest starting from the [`AbstractUserSourceProfile`](http://files.inductiveautomation.com/sdk/javadoc/ignition79/795/com/inductiveautomation/ignition/gateway/user/AbstractUserSourceProfile.html)). However, this still requires you to conform to Ignition’s expectations for users - ie, you will only ever get a username and password from a client/designer login.

If you want to do a truly exotic login system, you’ll need to “fake” it using a method like @dkhayes117 described.

---

<div class="post-metadata">

**Author:** ![tanuj](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tanuj/32/10531_2.png) [@tanuj](https://forum.inductiveautomation.com/u/tanuj)\
**Post date:** [September 5, 2019, 11:01am UTC](https://forum.inductiveautomation.com/t/extending-authentication-profile/28006/4 "2019-09-05T11:01:22Z")

</div>

Thanks, But I was thinking more like a pin based authentication, that is instead of traditional Form Login page the user would be presented with Custom form that just have pin input. I am ready to develop our own module on top of ignition authentication system, but I would need right direction on how to proceed with that, like implementing some base classed for authentication and then using those to handle login process.

Or can I add extra properties to User Details that would be saved every time a new user is created?
