# Auth Identity Provider - Invalid cookie header: "Set-Cookie

**URL:** <https://forum.inductiveautomation.com/t/auth-identity-provider-invalid-cookie-header-set-cookie/77331>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [August 3, 2023, 9:06am UTC](https://forum.inductiveautomation.com/t/auth-identity-provider-invalid-cookie-header-set-cookie/77331 "2023-08-03T09:06:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Learner\_Ignition](https://avatars.discourse-cdn.com/v4/letter/l/b3f665/32.png) [@Learner\_Ignition](https://forum.inductiveautomation.com/u/Learner_Ignition)\
**Post date:** [August 3, 2023, 9:06am UTC](https://forum.inductiveautomation.com/t/auth-identity-provider-invalid-cookie-header-set-cookie/77331/1 "2023-08-03T09:06:04Z")

</div>

Hi,  
I am trying Auth as Identity Provider, Configure everything in Identity provider and in project properties set security to Auth identity provider and perspective permission set to Authenticated.  
When I do test login it works fine, but I launch view it gives me a popup with a button "Continue to Login" when I click on the button then view directly loads up without any authentication.  
I checked the Logs I get warning of responseprocesscookies and message with Invalid cookies header.

Please tell me if I missed any configuration part.

---

<div class="post-metadata">

**Author:** ![Learner\_Ignition](https://avatars.discourse-cdn.com/v4/letter/l/b3f665/32.png) [@Learner\_Ignition](https://forum.inductiveautomation.com/u/Learner_Ignition)\
**Post date:** [August 4, 2023, 5:48am UTC](https://forum.inductiveautomation.com/t/auth-identity-provider-invalid-cookie-header-set-cookie/77331/2 "2023-08-04T05:48:21Z")

</div>

Can someone guide me

---

<div class="post-metadata">

**Author:** ![aaronrai24](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/aaronrai24/32/87248_2.png) [@aaronrai24](https://forum.inductiveautomation.com/u/aaronrai24)\
**Post date:** [August 4, 2023, 6:53am UTC](https://forum.inductiveautomation.com/t/auth-identity-provider-invalid-cookie-header-set-cookie/77331/3 "2023-08-04T06:53:30Z")

</div>

Can you provide your identity provider configuration and copies of the warnings/errors you are currently getting. Are you using this identity provider to also authenticate into your gateway or only perspective sessions?

---

<div class="post-metadata">

**Author:** ![Learner\_Ignition](https://avatars.discourse-cdn.com/v4/letter/l/b3f665/32.png) [@Learner\_Ignition](https://forum.inductiveautomation.com/u/Learner_Ignition)\
**Post date:** [August 4, 2023, 8:13am UTC](https://forum.inductiveautomation.com/t/auth-identity-provider-invalid-cookie-header-set-cookie/77331/4 "2023-08-04T08:13:16Z")

</div>

I had configure for session, this error was getting because after I do the test login the cookies is saved and it was not allowing to asking for reauthentication.  
so I did settings to clear the cookies after browser is closed, and when I launch session I asked for Identity provider authentication.

I have created a button to logout from session but button was not clearing the cookies so when I click on login button views get open without authentication.

> [@Learner\_Ignition](#):
>
> but I launch view it gives me a popup with a button "Continue to Login" when I click on the button then view directly loads up without any authentication.
