# How to bypass Ignition login screen and log in directly using IdP

**URL:** <https://forum.inductiveautomation.com/t/how-to-bypass-ignition-login-screen-and-log-in-directly-using-idp/45613>\
**Category:** Ignition\
**Tags:** ignition80, perspective\
**Created:** [April 14, 2021, 9:06pm UTC](https://forum.inductiveautomation.com/t/how-to-bypass-ignition-login-screen-and-log-in-directly-using-idp/45613 "2021-04-14T21:06:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![YF129701](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/yf129701/32/60498_2.png) [@YF129701](https://forum.inductiveautomation.com/u/YF129701)\
**Post date:** [April 14, 2021, 9:06pm UTC](https://forum.inductiveautomation.com/t/how-to-bypass-ignition-login-screen-and-log-in-directly-using-idp/45613/1 "2021-04-14T21:06:13Z")

</div>

We’re building a public-facing web application for our customers. I’m trying to get the login process as lean as possible, for obvious ID10T reasons.

I successfully set up an IdP (Okta) and set the security level for Perspective to Authenticated, and am able to log in that way right now. When I open a session for the project that is using my new IdP, I am greeted with a Perspective login page with a button that says `CONTINUE TO LOG IN`, which, when pressed, will forward me to the Okta login, then back to a Perspective login page where I click a button, and then to the desired page.

Here is the Perspective login screen I’m talking about:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/5/75e901158c9407c928b4bd12aed46f40f2699a1b.jpeg)

Then, when I click `CONTINUE TO LOG IN`, it takes me to this page:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/6/966b86ee98a60a11c44279ab7e023008a5998837.png)  
where I can then log in.

My question: is there a way to skip the Perspective login page and show to IdP login page right away? Looking at the [Identity Provider Authentication Workflow](https://docs.inductiveautomation.com/display/DOC81/Identity+Provider+Authentication+Strategy) page makes me think that step is mandatory. However, I wish so badly that I am mistaken.

Any input will be appreciated.

---

<div class="post-metadata">

**Author:** ![alan.s.kinnaman](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@alan.s.kinnaman](https://forum.inductiveautomation.com/u/alan.s.kinnaman)\
**Post date:** [April 16, 2021, 8:16pm UTC](https://forum.inductiveautomation.com/t/how-to-bypass-ignition-login-screen-and-log-in-directly-using-idp/45613/2 "2021-04-16T20:16:04Z")

</div>

In your Perspective URL, replace "client" with "login" to bypass this page. Just note that this is an undocumented feature. More info here:

> [@\[FEATURE-1402\] Perspective "autologin" IdP](http://forum.inductiveautomation.com/t/feature-1402-perspective-autologin-idp/40221/5):
>
> This has come up before. Unfortunately, there is no way around this “speed bump”. It is on our radar and it is something we are going to explore supporting in the future. Do you know how are the other vendors performing the automatic login? Do they use OIDC or SAML based IdPs? When you land on the auth-protected page, is the browser immediately redirecting you to the IdP to login? Or is it doing some kind of async background call to the IdP while keeping the user on the auth-protected page in a…

---

<div class="post-metadata">

**Author:** ![YF129701](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/yf129701/32/60498_2.png) [@YF129701](https://forum.inductiveautomation.com/u/YF129701)\
**Post date:** [April 16, 2021, 8:35pm UTC](https://forum.inductiveautomation.com/t/how-to-bypass-ignition-login-screen-and-log-in-directly-using-idp/45613/3 "2021-04-16T20:35:19Z")

</div>

I don’t know if I’m understanding you correctly, but when I replace `http://<server_ip>:8088/data/perspective/client/customerportal/portal` with the `http://<server_ip>:8088/data/perspective/login/customerportal/portal`, I get an HTTP 404 error. Is this what you had in mind?

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

---

<div class="post-metadata">

**Author:** ![alan.s.kinnaman](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@alan.s.kinnaman](https://forum.inductiveautomation.com/u/alan.s.kinnaman)\
**Post date:** [April 16, 2021, 9:16pm UTC](https://forum.inductiveautomation.com/t/how-to-bypass-ignition-login-screen-and-log-in-directly-using-idp/45613/4 "2021-04-16T21:16:42Z")

</div>

Yeah, that’s the idea, but it’s undocumented, so the behavior is likely unpredictable.  
I’ve found that replacing “client” with “login” only works on the root page of the Perspective project.

Try removing the “portal” portion of the URL, as in:

```auto
http://<server_ip>:8088/data/perspective/client/customerportal

```

---

<div class="post-metadata">

**Author:** ![YF129701](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/yf129701/32/60498_2.png) [@YF129701](https://forum.inductiveautomation.com/u/YF129701)\
**Post date:** [April 16, 2021, 9:22pm UTC](https://forum.inductiveautomation.com/t/how-to-bypass-ignition-login-screen-and-log-in-directly-using-idp/45613/5 "2021-04-16T21:22:59Z")

</div>

Sweet, that got rid of the first Perspective screen, but after I log in using IdP credentials, I still get the second Perspective screen, which I need to click `Continue to Log In` to see the page.

I don’t know why the second Perspective Log In page shows, its pretty random as far as I can tell. Sometimes I get it, sometimes I get my application after Okta log in.

---

<div class="post-metadata">

**Author:** ![jspecht](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jspecht/32/6465_2.png) [@jspecht](https://forum.inductiveautomation.com/u/jspecht)\
**Post date:** [June 25, 2021, 3:28pm UTC](https://forum.inductiveautomation.com/t/how-to-bypass-ignition-login-screen-and-log-in-directly-using-idp/45613/6 "2021-06-25T15:28:15Z")

</div>

A new auto-login feature was added to Perspective in 8.1.8. See:

> [@Nightly 8.1 Changelogs - 2021](http://forum.inductiveautomation.com/t/nightly-8-1-changelogs-2021/42410/95):
>
> Nightly Changelog: 8.1.8-b20210604 Visualization 705: Edge Plugins page displaying incorrect and outdated information Updated the Edge Overview page to better reflect activated plugins when license is applied. 2656: In Vision 8.1.5, Property Bindings on Grouped Components Persist After the Grouping is Removed, Resulting in Null Pointer Exceptions and an Undeletable Component Fixed issue that left orphaned bindings in place when un-grouping a group with bindings on it. 2471: Perspective Rou…

---

<div class="post-metadata">

**Author:** ![joey.philippi](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@joey.philippi](https://forum.inductiveautomation.com/u/joey.philippi)\
**Post date:** [April 28, 2022, 6:47pm UTC](https://forum.inductiveautomation.com/t/how-to-bypass-ignition-login-screen-and-log-in-directly-using-idp/45613/7 "2022-04-28T18:47:01Z")

</div>

Same question for Vision. Is there a method of skipping the login page and redirecting to IDP login if it is needed?
