lenra-io / server

GNU Affero General Public License v3.0
6 stars 0 forks source link

Permit socket connection without OAuth2 token #539

Closed taorepoara closed 5 months ago

taorepoara commented 5 months ago

What should be done

Allow the user to connect to the websocket with OAuth2 token. A user without token will have the role guest.

Technical recommandation

To manage not authenticated users on have many task to manage:

Ecological concerns

Check that the cache is not based on the user role (only if defined in the context, but managed later).

Is this task linked with any other ?

taorepoara commented 5 months ago

The big part is done, but I need to improve unit tests and to simplify channel unit tests management

taorepoara commented 5 months ago

:tada: This issue has been resolved in version 1.4.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: