i want to access keycloak accounts password screen to change the password by using bearer token. but i am not able to directly access. instead getting login pge even after paasing access token in headers. Please help.
$.ajax({
type: 'GET',
contentType: 'application/json',
crossDomain: true,
beforeSend: function (xhr) {
xhr.setRequestHeader ("Authorization", "Bearer " + accessToken
},
success: function (result) {
// CallBack(result);
},
error: function (error) {
}
});