<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
System Status
Announcements
Announcements
Search
Search
Select Language
0D54z000070SezwCACOkta Classic EngineSingle Sign-OnAnswered2026-04-14T20:22:31.000Z2021-06-11T15:36:34.000Z2021-06-22T15:49:50.000Z

GouravA.83173 (Customer) asked a question.

Okta Sign On Policy Not Getting Updated Through Postman Collection

I'm trying to update a rule on a sign on policy to switch to persistent cookies. I'm using the postman collection provided by Okta to do so. Retrieving Information through the get requests is working fine, I can see all my policies and rules but when I try to update one of my rules, it sends back 200 status and the policy remains unchanged.


  • NateO.69773 (Customer)

    I've had a ticket open for this same bug for 6 months. No update yet.

  • GouravA.83173 (Customer)

    Hey @raj.nadimpalli1.5634849829812683E12 (Okta)​ I had also submitted a case and I provided the okta request id over the email. But here's a general request response.

    Request URL:

    <Okta domain url>/api/v1/policies/<policy id>/rules/<rule id>

    Body:

    {

        "name": "Persistent Sessions",

        "actions": {

            "signon": {

     

                "session": {

                    "usePersistentCookie": true,

                    "maxSessionIdleMinutes": 120,

                    "maxSessionLifetimeMinutes": 0

                }

            }

        },

     

        "type": "SIGN_ON"

    }

     

    Part of the Response:

     

     "actions": {

            "signon": {

                "access": "ALLOW",

                "requireFactor": false,

                "primaryFactor": "PASSWORD_IDP",

                "rememberDeviceByDefault": false,

                "session": {

                    "usePersistentCookie": false,

                    "maxSessionIdleMinutes": 120,

                    "maxSessionLifetimeMinutes": 0

                }

            }

        },

    Expand Post
  • NateO.69773 (Customer)

    This is the exact same attribute I've been trying to update for 6 months and had a ticket open.

     

    Okta support, please see case #01009806

    • GouravA.83173 (Customer)

      Hey @NateO.69773 (Customer)​ 

      This got resolved for me. I was missing 'https' at the beginning of the request that's all. Also the persistent session doesn't work for admins/superadmins on okta. Only for the regular users. Hope this helps!

      • NateO.69773 (Customer)

        Wow, thank you for responding! This resolved my issue as well.

         

        Open ticket with Okta for over 6 months :D

         

        Thanks Gourav!!

This question is closed.
Loading
Okta Sign On Policy Not Getting Updated Through Postman Collection
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply