• Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

    Can not login after activating sessionCookie.secure=true

    User help
    2
    5
    249
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Malaguena last edited by Malaguena

      Hi all,

      I have uncommented sessionCookie.secure=true on env.propertites file and restarted Mango v4.0.0.beta5. Then, when I try to login, my credentials does not accepted and get an error "Login failed — Bad credentials".

      What could be the possible cause for that?

      I that enough to just activate sessionCookie.secure=true, in order to add secure flag to session?

      Thanks in advance!

      1 Reply Last reply Reply Quote 1
      • MattFox
        MattFox last edited by

        Its likely used in conjuction with the ssl settings Id imagine, going off of the name of the property

        Fox

        Do not follow where the path may lead; go instead where there is no path.
        And leave a trail - Muriel Strode

        1 Reply Last reply Reply Quote 0
        • M
          Malaguena last edited by

          Hi @MattFox ,

          You mean that in order to add secure flag to session first we should configure ssl settings on env.properties file? Then activate sessionCookie.secure=true.

          Am I right?

          Thanks,

          1 Reply Last reply Reply Quote 0
          • MattFox
            MattFox last edited by

            I believe that is the case, yes.
            Sorry I have not looked at the help docs to give you a better answer

            Do not follow where the path may lead; go instead where there is no path.
            And leave a trail - Muriel Strode

            1 Reply Last reply Reply Quote 0
            • MattFox
              MattFox last edited by MattFox

              I was a bit off the mark.
              It relates to using the cloud connect module:
              https://docs-v3.mango-os.com/cloud-connect?rq=sessioncookie

              if you want a secure flag on your browser, set up SSL or a reverse proxy with ssl at the front.

              Fox

              Do not follow where the path may lead; go instead where there is no path.
              And leave a trail - Muriel Strode

              1 Reply Last reply Reply Quote 0
              • First post
                Last post