Skip to content
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

Ability to get names on backend #17

Closed
zekenie opened this issue Jun 17, 2020 · 2 comments
Closed

Ability to get names on backend #17

zekenie opened this issue Jun 17, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@zekenie
Copy link

zekenie commented Jun 17, 2020

Hi there!

I'm really enjoying playing around with this project. I think it'd be great if there were a way to resolve the cursor name on the backend instead of the frontend. In my case, I want to send a jwt to the backend over a websocket and then use that to resolve a name, instead of trusting the client.

@cudr
Copy link
Owner

cudr commented Jun 18, 2020

Hi @zekenie!

This is the interesting point! I think we need to change the onAuthRequest function to return an object with user data for this.

@zekenie
Copy link
Author

zekenie commented Jun 18, 2020

I was actually able to solve this in a hacky way by throwing if data didn't match in the onAuthRequest

@cudr cudr added the enhancement New feature or request label Oct 28, 2020
@zekenie zekenie closed this as completed May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants