Hi support,
I am a service provider to publishers in Germany, supporting them in metadata creation and distribution.
Currently I am trying to post files using the https POST method for user “woch” in publisher
group " Wochenschau Verlag Dr. Kurt Debus GmbH".
I am posting to https://0-doi-crossref-org.library.alliant.edu/servlet/deposit for user “woch” (login_id) with its PW (login_password)
The credentials work well when signing in to the admin pages.
The POST does not create an error but the file is never added to the submissions and I receive the following html as a response (removed some empty lines):
<!--
<br>
<font size=+1>
Welcome to Crossref.
</font>
<br><br>
<div id="browser-warning"></div>
<!--[if lt IE 9]>
<style type="text/css">
#browser-warning {
display: none;
background-color: #fde394;
padding: 20px;
max-width: 950px;
}
#browser-warning td.image {
}
#browser-warning img {
max-height: 50px;
}
#browser-warning td.text {
padding-left: 20px;
padding-right: 20px;
color: #4f5858;
font-family: 'Open Sans', sans-serif;
font-weight: bold;
}
#browser-warning .button {
background-color: #3eb1c8;
padding: 10px;
text-decoration: none;
border-radius: 4px;
border: 0;
color: #fefbef;
font-family: 'Open Sans', sans-serif;
font-weight: bold;
line-height: 1;
white-space: nowrap;
}
</style>
<table id="browser-warning-banner">
<tr>
<td class="image"><img src="/images/exclamation-triangle.gif"/></td>
<td class="text"><span>Upgrade browser for full Crossref experience. It looks like you may be using an outdated web browser. Please update your browser for the best possible experience.</span></td>
<td><a class="button" href="/supported-browsers.html" target="_blank" rel="noopener noreferrer">Supported Browsers</a></td>
</tr>
</table>
<![endif]--><!--
<br/>
<table border="0" cellpadding="0" cellspacing="0"><tr>
<td nowrap width="8" valign="top" class="tabSelected"><img src="/images/clips/top_left.gif" width="8" height="8" alt=""></td>
<td nowrap class="tabSelected"><a href="/servlet/useragent" title="" class="tabSelected"> <b>Home</b> </a></td>
<td nowrap width="8" valign="top" class="tabSelected"><img src="/images/clips/top_right.gif" width="8" height="8" alt=""></td>
<td nowrap width="8" valign="top" class="tabNotAllowed"><img src="/images/clips/top_left.gif" width="8" height="8" alt=""></td>
<td nowrap class="tabNotAllowed"><a href="javascript:alert('You do not have permissions to access this function.')" title="Users: Not Accessible" class="tabNotAllowed"> Users </a></td>
<td nowrap width="8" valign="top" class="tabNotAllowed"><img src="/images/clips/top_right.gif" width="8" height="8" alt=""></td>
<td nowrap width="8" valign="top" class="tabNotAllowed"><img src="/images/clips/top_left.gif" width="8" height="8" alt=""></td>
<td nowrap class="tabNotAllowed"><a href="javascript:alert('You do not have permissions to access this function.')" title="Submissions: Not Accessible" class="tabNotAllowed"> Submissions </a></td>
<td nowrap width="8" valign="top" class="tabNotAllowed"><img src="/images/clips/top_right.gif" width="8" height="8" alt=""></td>
<td nowrap width="8" valign="top" class="tabNotAllowed"><img src="/images/clips/top_left.gif" width="8" height="8" alt=""></td>
<td nowrap class="tabNotAllowed"><a href="javascript:alert('You do not have permissions to access this function.')" title="Queries: Not Accessible" class="tabNotAllowed"> Queries </a></td>
<td nowrap width="8" valign="top" class="tabNotAllowed"><img src="/images/clips/top_right.gif" width="8" height="8" alt=""></td>
<td nowrap width="8" valign="top" class="tabNotAllowed"><img src="/images/clips/top_left.gif" width="8" height="8" alt=""></td>
<td nowrap class="tabNotAllowed"><a href="javascript:alert('You do not have permissions to access this function.')" title="Reports: Not Accessible" class="tabNotAllowed"> Reports </a></td>
<td nowrap width="8" valign="top" class="tabNotAllowed"><img src="/images/clips/top_right.gif" width="8" height="8" alt=""></td>
<td nowrap width="8" valign="top" class="tabNotAllowed"><img src="/images/clips/top_left.gif" width="8" height="8" alt=""></td>
<td nowrap class="tabNotAllowed"><a href="javascript:alert('You do not have permissions to access this function.')" title="Metadata Admin: Not Accessible" class="tabNotAllowed"> Metadata Admin </a></td>
<td nowrap width="8" valign="top" class="tabNotAllowed"><img src="/images/clips/top_right.gif" width="8" height="8" alt=""></td>
</tr></table>
<table border="0" cellpadding="10" cellspacing="0" width="100%">
<tr><td width="100%" class="tabContent1">
<br>
-->
<!DOCTYPE html>
<html>
<head>
<link rel=stylesheet href="https://0-test-crossref-org.library.alliant.edu/css/tab.css" title="tab css">
<link rel=stylesheet href="https://cdn.production.dcbridgecrossref.org/frontend/crossref-ui/2.1.1/crossref-ui.css" title="tab css">
<link rel="shortcut icon" href="https://0-test-crossref-org.library.alliant.edu/favicon.ico">
<link href="https://cdn.jsdelivr.net/npm/@mdi/font@4.x/css/materialdesignicons.min.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui">
</head>
<!-- Matomo -->
<script type="text/x-template" id="template">
<login-screen/>
</script>
<div id="app"></div>
<script type="text/javascript" src="https://cdn.production.dcbridgecrossref.org/frontend/crossref-ui/2.1.1/crossref-ui.umd.min.js"></script>
<script type="text/javascript">
var _paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
_paq.push(["setCookieDomain", "*.apps.crossref.org"]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://crossref.matomo.cloud/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '15']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
var parts = window.location.href.split("/");
var c = CrossrefUI.run({
element: '#app',
reset_password_url: 'https://0-authenticator-crossref-org.library.alliant.edu/reset-password/',
template: '#template',
authApiBaseUrl: parts[0] + "//" + parts[2],
apiPort: null,
loginUrl: '/servlet/login',
rolesUrl: '/servlet/login',
authFieldSpec: {
username: 'usr',
password: 'pwd'
},
authPostDataFormat: 'formData',
disableMirage: true
})
</script>
<noscript><p>![](upload://xspAPEnjaGTMynnpZt5IwvyRs90.gif)</p></noscript>
<!-- End Matomo Code -->
<body>
</body>
</html>
I used this upload method about 2 years ago already and with success.
What is wrong? Does the user needs an additional right to post via https post?
Am I using the wrong names or IDs?
I am available for live testing if need be, please feel free to mail to arrange a time.
Thanks
Herbert Barkmann
BARKMANN software & services