-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to pass custom header in sockjsClient #162
Comments
I do this and it works:
|
<SockJsClient |
@jitugeo Just wondering if you were able to find a solution to pass header? I am tryign to padd Authorization header with oauth token. Thanks! |
i also cannot get headers to stick. the back end keeps thinking the Authorization header is null even though it can correctly handle other secured endpoints. I feel like its just a formatting issue on the prop but cant seem to get it to work. |
I,m not able to pass the token in the header using SockjsClient. Here is my code
const customHeader = { Authorization: 'Basic token' };
this.stompClient.connect(customHeader, (res) => {
}, (error) => {
})
@lahsivjar
can you help me what I'm missing here ?
Thanks
The text was updated successfully, but these errors were encountered: