# Why users stored database connect in to Vision client and they can't in to Perspective web app

**URL:** <https://forum.inductiveautomation.com/t/why-users-stored-database-connect-in-to-vision-client-and-they-cant-in-to-perspective-web-app/82356>\
**Category:** Ignition\
**Tags:** perspective, vision\
**Created:** [November 26, 2023, 1:55pm UTC](https://forum.inductiveautomation.com/t/why-users-stored-database-connect-in-to-vision-client-and-they-cant-in-to-perspective-web-app/82356 "2023-11-26T13:55:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebastien\_ng](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sebastien_ng/32/55297_2.png) [@sebastien\_ng](https://forum.inductiveautomation.com/u/sebastien_ng)\
**Post date:** [November 26, 2023, 1:55pm UTC](https://forum.inductiveautomation.com/t/why-users-stored-database-connect-in-to-vision-client-and-they-cant-in-to-perspective-web-app/82356/1 "2023-11-26T13:55:12Z")

</div>

Hello, I have created a user source type **Database**  
They can connect in to **vision client** but they are not connecting in to **perspective web app**  
Sommeone can explain me what happened or why I can't connect on web app using usernames stored on database.

Maybe I changed something on Gateway configuration or on Designer, but I can't understand what was changed.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/9/d93b66981a407b617931db9bc4f52191a2a3b893.jpeg)

maybe an easy question for others but I need to understand why I can't log in even if I use the administrator username

---

<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:** [November 26, 2023, 2:17pm UTC](https://forum.inductiveautomation.com/t/why-users-stored-database-connect-in-to-vision-client-and-they-cant-in-to-perspective-web-app/82356/2 "2023-11-26T14:17:53Z")

</div>

We aren't psychics. You say you can't understand what might have changed, but you expect us to be able to? 🤷‍♂️

Please show everything that might be related to this problem so others can spot possible mistakes.

---

<div class="post-metadata">

**Author:** ![sebastien\_ng](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sebastien_ng/32/55297_2.png) [@sebastien\_ng](https://forum.inductiveautomation.com/u/sebastien_ng)\
**Post date:** [November 26, 2023, 2:31pm UTC](https://forum.inductiveautomation.com/t/why-users-stored-database-connect-in-to-vision-client-and-they-cant-in-to-perspective-web-app/82356/3 "2023-11-26T14:31:55Z")

</div>

thank you for your anwser @pturmel  
What I'am saying is:  
I created users . they are stored in database.  
When open Vision Client Launcher, I can connect in to vision cleint using those identity of usernames and passwords stored in database.

And when I try connect in to web application, I get error message:

**Login failed. Please try again.** Normally the same user that use to connect in to vision client must be connected in to web app.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [November 26, 2023, 2:34pm UTC](https://forum.inductiveautomation.com/t/why-users-stored-database-connect-in-to-vision-client-and-they-cant-in-to-perspective-web-app/82356/4 "2023-11-26T14:34:31Z")

</div>

That's what you said the first time.

---

<div class="post-metadata">

**Author:** ![sebastien\_ng](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sebastien_ng/32/55297_2.png) [@sebastien\_ng](https://forum.inductiveautomation.com/u/sebastien_ng)\
**Post date:** [November 26, 2023, 2:36pm UTC](https://forum.inductiveautomation.com/t/why-users-stored-database-connect-in-to-vision-client-and-they-cant-in-to-perspective-web-app/82356/5 "2023-11-26T14:36:32Z")

</div>

😅

it is possible usersource to connect in to vision client and not in web app ?

---

<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:** [November 26, 2023, 2:45pm UTC](https://forum.inductiveautomation.com/t/why-users-stored-database-connect-in-to-vision-client-and-they-cant-in-to-perspective-web-app/82356/6 "2023-11-26T14:45:11Z")

</div>

Perspective uses the "Identity Provider" mechanism, which **can be** connected to a user source, but isn't necessarily. So, yes, it is perfectly possible for a user name and password combination to work in Vision and not in Perspective.

Show us everything that might be relevant. Without that, we cannot help you.

---

<div class="post-metadata">

**Author:** ![sebastien\_ng](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sebastien_ng/32/55297_2.png) [@sebastien\_ng](https://forum.inductiveautomation.com/u/sebastien_ng)\
**Post date:** [November 26, 2023, 7:14pm UTC](https://forum.inductiveautomation.com/t/why-users-stored-database-connect-in-to-vision-client-and-they-cant-in-to-perspective-web-app/82356/7 "2023-11-26T19:14:47Z")

</div>

Hello, I didn't have the words to describe the problem . But after several recherches, I was able to understand that identity provider that was defined in to projet was not god.

I created an idp at Gateway, and I define user source stored in db

and I went to the project property and assigned it.

now I can connect in to vision client et web app.
