You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a python flask server than grants a react client a jwt. I want to use that jwt to authenticate the nats client and authorize it to access certain subjects.
// after jwt is sent back from login it is put in localStorageconstauthenticator=tokenAuthenticator(localStorage.getItem("jwt")asstring);constnc=awaitconnect({servers: "ws://127.0.0.1:9222/",authenticator: authenticator});
I am trying to authenticate that client using an auth callout service. The message is received but I get an authentication error after
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to follow this example
I have a python flask server than grants a react client a jwt. I want to use that jwt to authenticate the nats client and authorize it to access certain subjects.
I am trying to authenticate that client using an auth callout service. The message is received but I get an authentication error after
Here is the conf file
Beta Was this translation helpful? Give feedback.
All reactions