Keycloak service account access with bearer token

12 views
Skip to first unread message

Mitali Goel

unread,
Oct 8, 2021, 2:12:49 AMOct 8
to Keycloak Dev
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) {

   }
});
Reply all
Reply to author
Forward
0 new messages