is changed something to get token from rest api ?
I am using client : secret (user and password) with basic auth, body like this:
I am getting follow html:
<!doctype html>
<html>
<head>
<meta http-equiv=“Content-Type” content=“text/html; charset=utf-8”>
<meta http-equiv=“X-UA-Compatible” content=“IE=11”>
<style type=“text/css”>
html,
body {
height: 100%;
margin: 0;
}
</style>
<link rel=“shortcut icon” type=“image/vnd.microsoft.icon” href="./VAADIN/themes/hover/favicon.ico">
<link rel=“icon” type=“image/vnd.microsoft.icon” href="./VAADIN/themes/hover/favicon.ico">
</head>
<body scroll=“auto” class=“v-generated-body”>
<div id=“app-96801” class=“v-app hover appui”>
<div class=“v-app-loading”></div>
<noscript>
You have to enable javascript in your browser to use an application built with Vaadin.
</noscript>
</div>
<script type=“text/javascript” src="./VAADIN/vaadinPush.debug.js?v=8.6.4-17-cuba"></script>
<script type=“text/javascript” src="./VAADIN/vaadinBootstrap.js?v=8.6.4-17-cuba"></script>
<script type=“text/javascript”>
//<![CDATA[
if (!window.vaadin) alert(“Failed to load the bootstrap javascript: ./VAADIN/vaadinBootstrap.js?v=8.6.4-17-cuba”);
if (typeof window.__gwtStatsEvent != ‘function’) {
vaadin.gwtStatsEvents = [];
window.__gwtStatsEvent = function(event) {vaadin.gwtStatsEvents.push(event); return true;};
}
vaadin.initApplication(“app-96801”,{
“theme”: “hover”,
“versionInfo”: {
“vaadinVersion”: “8.6.4-17-cuba”,
“atmosphereVersion”: “2.4.30-1-cuba”
},
“widgetset”: “com.haulmont.cuba.web.widgets.WidgetSet”,
“widgetsetReady”: true,
“comErrMsg”: {
“caption”: “Problema di comunicazione”,
“message”: “Prendere nota di tutti i dati non salvati, e <u>cliccare qui</u> per continuare.”,
“url”: null
},
“authErrMsg”: {
“caption”: “Authentication problem”,
“message”: “Take note of any unsaved data, and <u>click here</u> or press ESC to continue.”,
“url”: null
},
“sessExpMsg”: {
“caption”: “Sessione scaduta”,
“message”: “Prendere nota di tutti i dati non salvati, e <u>cliccare qui</u> per continuare.”,
“url”: null
},
“contextRootUrl”: “./”,
“vaadinDir”: “./VAADIN/”,
“frontendUrl”: “vaadin://frontend/es5/”,
“debug”: true,
“standalone”: true,
“heartbeatInterval”: 600,
“serviceUrl”: “.”
});
//]]>
</script>
</body>
</html>