Hi
I just found out in a different project that vue-cli-plugin-apollo does not work with authentication:
https://github.com/Akryum/vue-cli-plugin-apollo/pull/144
So currently I wonder if anybody uses websockets at all? Because ultimately all the authorization should fail
Maybe this plugin should wire up its own config being independent or should reference the PR patch
This issue as been imported as question since it does not respect apollo-module issue template. Only bug reports and feature requests stays open to reduce maintainers workload.
If your issue is not a question, please mention the repo admin or moderator to change its type and it will be re-opened automatically.
Your question is available at https://cmty.app/nuxt/apollo-module/issues/c238.
The vue-cli-plugin-apollo just release new version.
@kieusonlam thanks for keeping up so quick
@dohomi have you managed to authentify with the last version? I certainly couldn't, even with the patched vue-cli-plugin-apollo. It still doesn't include the authorization header.
EDIT: it seems to be due to Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1229443 | in the meantime I'll rely on the message sent instead, which sends a {"type":"connection_init","payload": **wsClient options** } message to initiate websocket connections when onLogin triggers.