Hello.

We have a doubt.

The backend of our dspace 7.5 is configured with https, but the urls
returned by the api are with http.

Example URL:
https://biblioteca.mpf.mp.br/server/api/authz/authorizations/search/object?uri=https://biblioteca.mpf.mp.br/server/api/core/bitstreams/
8a9c237b-e7d8-4af7-aa94-a2c82e30b8d7&feature=canDownload&embed=feature

Return:

{
  "_embedded" : {
    "authorizations" : [ {
      "id" :
"canDownload_core.bitstream_8a9c237b-e7d8-4af7-aa94-a2c82e30b8d7",
      "type" : "authorization",
      "_links" : {
        "eperson" : {
          "href" : "*http*://
biblioteca.mpf.mp.br/server/api/authz/authorizations/canDownload_core.bitstream_8a9c237b-e7d8-4af7-aa94-a2c82e30b8d7/eperson
"
        },
        "feature" : {
          "href" : "*http*://
biblioteca.mpf.mp.br/server/api/authz/authorizations/canDownload_core.bitstream_8a9c237b-e7d8-4af7-aa94-a2c82e30b8d7/feature
"
        },
        "object" : {
          "href" : "*http*://
biblioteca.mpf.mp.br/server/api/authz/authorizations/canDownload_core.bitstream_8a9c237b-e7d8-4af7-aa94-a2c82e30b8d7/object
"
        },
        "self" : {
          "href" : "*http*://
biblioteca.mpf.mp.br/server/api/authz/authorizations/canDownload_core.bitstream_8a9c237b-e7d8-4af7-aa94-a2c82e30b8d7
"
        }
      },
      "_embedded" : {
        "feature" : {
          "id" : "canDownload",
          "description" : "It can be used to verify if the user can
download a bitstream",
          "type" : "feature",
          "resourcetypes" : [ "core.bitstream" ],
          "_links" : {
            "self" : {
              "href" : "*http*://
biblioteca.mpf.mp.br/server/api/authz/features/canDownload"
            }
          }
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "*http*://
biblioteca.mpf.mp.br/server/api/authz/authorizations/search/object?uri=https://biblioteca.mpf.mp.br/server/api/core/bitstreams/8a9c237b-e7d8-4af7-aa94-a2c82e30b8d7&feature=canDownload
"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 1,
    "totalPages" : 1,
    "number" : 0
  }
}

Why don't these links start with https?

Aroldo

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CACKFi%2BdKarWjCXbHbaJUaLeSdmL1AggWYTxvsjH5eB2hfXM8TQ%40mail.gmail.com.

Reply via email to