Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-8876

[auth] Fix redirect for is_embeddable when 401

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.4.0
    • Fix Version/s: 4.5.0
    • Component/s: core.api
    • Labels:
      None

      Description

      When a user changes his own password in 6+, django logs out that user.

      401 in ajax requests are handled  correctly, but is_embedabble requests in onePageViewModel are not.

      is_embedabble requests now returns json data on 401 with url to be redirected to and we remove is_embeddable flag.

        Attachments

          Activity

            People

            • Assignee:
              jgauthier Jean Francois Desjeans Gauthier
              Reporter:
              jgauthier Jean Francois Desjeans Gauthier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: