Browse Source

fix invalid token verification

cloud-keycloak
Dmitriy Sim 3 years ago
parent
commit
f5fa3495d5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      demo-client-app/src/App.js

+ 1
- 1
demo-client-app/src/App.js View File

@ -31,7 +31,7 @@ const connect = async (token) => {
stomp.debug = (msg) => {};
stomp.connect(
// { "X-Authorization": token.split(".").slice(0, 2).join(".") + "alkdjalskdjals" },
// { "X-Authorization": token.split(".").slice(0, 2).join(".") + ".alkdjalskdjals" },
{ "X-Authorization": token },
(frame) => {
console.log("Connected", frame);


Loading…
Cancel
Save