# \[BUG-13715,13982\] Perspective App

**URL:** <https://forum.inductiveautomation.com/t/bug-13715-13982-perspective-app/24648>\
**Category:** Ignition Early Access\
**Created:** [May 3, 2019, 4:24pm UTC](https://forum.inductiveautomation.com/t/bug-13715-13982-perspective-app/24648 "2019-05-03T16:24:53Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![craigb](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@craigb](https://forum.inductiveautomation.com/u/craigb)\
**Post date:** [May 3, 2019, 4:24pm UTC](https://forum.inductiveautomation.com/t/bug-13715-13982-perspective-app/24648/1 "2019-05-03T16:24:53Z")

</div>

In IOS and android when you click login using the default login page it re-directs to the browser.

---

<div class="post-metadata">

**Author:** ![mrojas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mrojas/32/6394_2.png) [@mrojas](https://forum.inductiveautomation.com/u/mrojas)\
**Post date:** [May 3, 2019, 7:30pm UTC](https://forum.inductiveautomation.com/t/bug-13715-13982-perspective-app/24648/2 "2019-05-03T19:30:54Z")

</div>

On iOS does the app show a popup before the browser is opened up?

---

<div class="post-metadata">

**Author:** ![craigb](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@craigb](https://forum.inductiveautomation.com/u/craigb)\
**Post date:** [May 3, 2019, 7:41pm UTC](https://forum.inductiveautomation.com/t/bug-13715-13982-perspective-app/24648/3 "2019-05-03T19:41:14Z")

</div>

No,

As soon as press “Continue to sign in” it opens the browser window to log in. If i log into the browser then go back to the app its stuck on the “You must sign in to continue” screen. If i shut down the app and re-open it, its on the log in screen again.

This means i cant log into any project using the app when they have to log in. The andriod app does the same thing.

---

<div class="post-metadata">

**Author:** ![mrojas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mrojas/32/6394_2.png) [@mrojas](https://forum.inductiveautomation.com/u/mrojas)\
**Post date:** [May 3, 2019, 8:50pm UTC](https://forum.inductiveautomation.com/t/bug-13715-13982-perspective-app/24648/4 "2019-05-03T20:50:33Z")

</div>

Ok thanks, what version is your gateway?

---

<div class="post-metadata">

**Author:** ![craigb](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@craigb](https://forum.inductiveautomation.com/u/craigb)\
**Post date:** [May 3, 2019, 9:07pm UTC](https://forum.inductiveautomation.com/t/bug-13715-13982-perspective-app/24648/5 "2019-05-03T21:07:20Z")

</div>

nightly build b2019050202

---

<div class="post-metadata">

**Author:** ![mrojas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mrojas/32/6394_2.png) [@mrojas](https://forum.inductiveautomation.com/u/mrojas)\
**Post date:** [May 3, 2019, 9:31pm UTC](https://forum.inductiveautomation.com/t/bug-13715-13982-perspective-app/24648/6 "2019-05-03T21:31:15Z")

</div>

There’s a fix for what you’re seeing but it hasn’t made it to the nightly yet. I’ll let you know when it’s in. Until then, the only way I know to fix is to reset the sessions specific to mobile apps. To do this, kill the mobile app and wait for its session to timeout (default is 10 minutes after disconnect). Once you go back into the app you should have a fresh session that works as expected.

---

<div class="post-metadata">

**Author:** ![awalker](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/awalker/32/6874_2.png) [@awalker](https://forum.inductiveautomation.com/u/awalker)\
**Post date:** [May 14, 2019, 6:12pm UTC](https://forum.inductiveautomation.com/t/bug-13715-13982-perspective-app/24648/7 "2019-05-14T18:12:03Z")

</div>

This issue was fixed in the 8.0.2 nightly build that was uploaded yesterday (5/13).

---

<div class="post-metadata">

**Author:** ![nburt](https://avatars.discourse-cdn.com/v4/letter/n/2bfe46/32.png) [@nburt](https://forum.inductiveautomation.com/u/nburt)\
**Post date:** [May 15, 2019, 4:25pm UTC](https://forum.inductiveautomation.com/t/bug-13715-13982-perspective-app/24648/8 "2019-05-15T16:25:06Z")

</div>

I seem to be having this problem with on build 2019051502.

I am able to open the app but when I click on my login button which triggers the ‘Login’ event/action I am prompted to select a web browser to use.

The real problem is that after I make a selection, redirect to the login page, and enter my credentials, the app hangs in the loading screen.

(Chrome and Firefox redirect to the credentials page, Edge seems to redirect for a minute, then skip the credentials page and go straight to the loading screen)

---

<div class="post-metadata">

**Author:** ![mrojas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mrojas/32/6394_2.png) [@mrojas](https://forum.inductiveautomation.com/u/mrojas)\
**Post date:** [May 15, 2019, 10:30pm UTC](https://forum.inductiveautomation.com/t/bug-13715-13982-perspective-app/24648/9 "2019-05-15T22:30:00Z")

</div>

Thanks for letting us know. That’s definitely a bug. We’ll have an updated version of our native apps in the next couple days with a fix for that. Also, I’ll create a ticket for the Edge issue as it’s separate from the app hanging on loading screen one.

---

<div class="post-metadata">

**Author:** ![nburt](https://avatars.discourse-cdn.com/v4/letter/n/2bfe46/32.png) [@nburt](https://forum.inductiveautomation.com/u/nburt)\
**Post date:** [May 22, 2019, 1:38pm UTC](https://forum.inductiveautomation.com/t/bug-13715-13982-perspective-app/24648/10 "2019-05-22T13:38:46Z")

</div>

Hey, just wondering if this is still a confirmed ongoing issue or if it has been resolved in a nightly build?

---

<div class="post-metadata">

**Author:** ![mrojas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mrojas/32/6394_2.png) [@mrojas](https://forum.inductiveautomation.com/u/mrojas)\
**Post date:** [May 22, 2019, 3:47pm UTC](https://forum.inductiveautomation.com/t/bug-13715-13982-perspective-app/24648/11 "2019-05-22T15:47:17Z")

</div>

We’re releasing new iOS and Android apps this week with a fix for what you were seeing. The Edge issue hasn’t been looked into yet. I’ll let you know when the new apps have hit the stores.

---

<div class="post-metadata">

**Author:** ![craigb](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@craigb](https://forum.inductiveautomation.com/u/craigb)\
**Post date:** [May 22, 2019, 3:53pm UTC](https://forum.inductiveautomation.com/t/bug-13715-13982-perspective-app/24648/12 "2019-05-22T15:53:57Z")

</div>

Matthew,

I’ll add this to the ideas forum but what would be the chances of having the android app put onto the amazon fire tablet store. The fire tablet is android based so I currently side load the google app store to load the perspective app. This gives us a very cheap perspective tablet but with the worry amazon push out an OTA update to stop the sideloading of the google play store.

The app works perfectly on the firetablet so with out knowing the ins and outs it should be easy to get it listed on the amazon store ?

---

<div class="post-metadata">

**Author:** ![mrojas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mrojas/32/6394_2.png) [@mrojas](https://forum.inductiveautomation.com/u/mrojas)\
**Post date:** [May 22, 2019, 4:03pm UTC](https://forum.inductiveautomation.com/t/bug-13715-13982-perspective-app/24648/13 "2019-05-22T16:03:06Z")

</div>

Definitely, I’ll create a ticket to add support for Amazon’s app store. We’re still pretty busy with the release of 8.0, but hopefully I can start working on it soon.

---

<div class="post-metadata">

**Author:** ![leonard.smit](https://avatars.discourse-cdn.com/v4/letter/l/cab0a1/32.png) [@leonard.smit](https://forum.inductiveautomation.com/u/leonard.smit)\
**Post date:** [December 3, 2020, 12:57pm UTC](https://forum.inductiveautomation.com/t/bug-13715-13982-perspective-app/24648/14 "2020-12-03T12:57:02Z")

</div>

Hi All!

Anyone seen this issue re-appear recently with 8.1? seems to have the same behaviour now when trying to log in?

---

<div class="post-metadata">

**Author:** ![eessig](https://avatars.discourse-cdn.com/v4/letter/e/bb73d2/32.png) [@eessig](https://forum.inductiveautomation.com/u/eessig)\
**Post date:** [February 10, 2021, 7:44pm UTC](https://forum.inductiveautomation.com/t/bug-13715-13982-perspective-app/24648/15 "2021-02-10T19:44:59Z")

</div>

Yes, we are also having this issue, running 8.1.1. I thought maybe I was missing some setting because if I launch the Ignition demo app, it launches in the app and not a browser. As soon I try to launch one of my projects, it redirects to a web browser. Have you found a solution?

---

<div class="post-metadata">

**Author:** ![whitson.brandon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/whitson.brandon/32/79016_2.png) [@whitson.brandon](https://forum.inductiveautomation.com/u/whitson.brandon)\
**Post date:** [November 4, 2021, 6:42pm UTC](https://forum.inductiveautomation.com/t/bug-13715-13982-perspective-app/24648/16 "2021-11-04T18:42:28Z")

</div>

BUMP!! Having this issue as well!

---

<div class="post-metadata">

**Author:** ![mrojas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mrojas/32/6394_2.png) [@mrojas](https://forum.inductiveautomation.com/u/mrojas)\
**Post date:** [November 4, 2021, 9:39pm UTC](https://forum.inductiveautomation.com/t/bug-13715-13982-perspective-app/24648/17 "2021-11-04T21:39:49Z")

</div>

Is there any way you can send me the logs from the Perspective App settings?

---

<div class="post-metadata">

**Author:** ![RylanM](https://avatars.discourse-cdn.com/v4/letter/r/8797f3/32.png) [@RylanM](https://forum.inductiveautomation.com/u/RylanM)\
**Post date:** [November 4, 2021, 10:39pm UTC](https://forum.inductiveautomation.com/t/bug-13715-13982-perspective-app/24648/18 "2021-11-04T22:39:21Z")

</div>

I have the same problem, but only when connecting through reverse proxy with NGINX. My NGINX config is fully functional as I can launch perspective projects via a web browser and the mobile application on both Android and iOS devices.

I can recreate the following scenarios on Ignition versions 8.0.17, 8.1.7 and 8.1.10.

With the perspective app connected to the Ignition Gateway without reverse proxy, these are the session details observed on the gateway (note the Session Scope = Mobile, iOS).  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/0/1006b48f775321b38c625c2155f36ae85c522e7b.png)  
When a login event is triggered the perspective app presents a login dialog within the app that functions as expected.

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

With the perspective app connected to the Ignition Gateway with reverse proxy, these are the session details observed on the gateway (note the Session Scope = Designer).  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/f/4f576446f0720aa1a3e2fa4a8dbd33d2cb0d330a.png)  
The project is functional within the perspective app except when attempting to authenticate. When a login event is triggered the perspective app redirects to the device’s default browser with the webpage login dialog. After entering credentials, the browser becomes a new perspective session which is now authenticated and does not redirect back to the perspective app.

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

I’m guessing that the reverse proxy connection is missing a header or something similar. Working on trying to diagnose further with a network protocol analyzer.

Does anyone at IA (or in this community) know what would trigger the perspective app to redirect to device’s default web browser instead of the app’s internal login dialog? Or what would cause the perspective session’s scope to be ‘Designer’ instead of ‘Mobile, iOS’?

---

<div class="post-metadata">

**Author:** ![mrojas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mrojas/32/6394_2.png) [@mrojas](https://forum.inductiveautomation.com/u/mrojas)\
**Post date:** [November 4, 2021, 11:02pm UTC](https://forum.inductiveautomation.com/t/bug-13715-13982-perspective-app/24648/19 "2021-11-04T23:02:55Z")

</div>

Maybe try adding  
`underscores_in_headers on;`  
to your NGINX config.

---

<div class="post-metadata">

**Author:** ![whitson.brandon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/whitson.brandon/32/79016_2.png) [@whitson.brandon](https://forum.inductiveautomation.com/u/whitson.brandon)\
**Post date:** [November 5, 2021, 2:07pm UTC](https://forum.inductiveautomation.com/t/bug-13715-13982-perspective-app/24648/20 "2021-11-05T14:07:00Z")

</div>

@RylanM

Good catch. Almost all users we have are outside the local lan so in testing I always connect from outside in order to replicate the end users experience. I connected internally and sure enough I was able to login inside the Perspective App.

As a side note we are also using NGINX to proxy traffic.

@mrojas

I'm not the most experienced with NGINX. Where in he config is this supposed to live? I've hit up the Googles and put the line where I think it should go but I'm still getting kicked to the browser externally to log in.

Thanks a ton!!!!

EDIT!!!

I get kicked any time I use a URL instead of a local IP address. Even if I'm using internal DNS resolution I get sent to my default browser for login.

[Next page](https://forum.inductiveautomation.com/t/bug-13715-13982-perspective-app/24648.md?page=2)
