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 am trying to use Authentication using username and password, But I am not sure where can I get those values from the header in my server:
I tried to use WSI_TOKEN_X_AUTH_TOKEN but it is not part of the header:
lws_hdr_copy(wsi, auth_header, sizeof(auth_header), WSI_TOKEN_X_AUTH_TOKEN)
LWS_CALLBACK_VERIFY_BASIC_AUTHORIZATION is not hit my server callback !
here is my client code: But I am not getting these Authorization as part of header. Looks like I am not using it correctly.
how to set Authorization header correctly for Basic Auth?
Hi,
I am trying to use Authentication using username and password, But I am not sure where can I get those values from the header in my server:
I tried to use WSI_TOKEN_X_AUTH_TOKEN but it is not part of the header:
lws_hdr_copy(wsi, auth_header, sizeof(auth_header), WSI_TOKEN_X_AUTH_TOKEN)
LWS_CALLBACK_VERIFY_BASIC_AUTHORIZATION is not hit my server callback !
here is my client code: But I am not getting these Authorization as part of header. Looks like I am not using it correctly.
how to set Authorization header correctly for Basic Auth?
The text was updated successfully, but these errors were encountered: