Sorry, I should have been clearer!

In JupyterHub, it uses ones username in the url, which, if you use full
email addresses, looks like:

/user/[email protected]/lab

Which should be fine, except Theia insists on encoding that @ as %40 for
its websockets, and that doesnt work (CHP doesnt mind, but I think the
jupyter instance does.  Anyway, I was also thinking that perhaps it's not a
great idea to have the username in the url in the first place as it exposes
personal information.

So, I was wondering if there was a way of simply not having usernames in
the jupyterhub structure, but open to other ideas.  Perhaps I could
generate a user-id on first auth based on the user's email address and that
would avoid this problem, but it would make for uglier urls.

Ray

On Wed, Jun 5, 2019 at 11:11 PM [email protected] <[email protected]> wrote:

> What URLs are you talking about? What Theia app do you mean?
>
> On Wed, Jun 5, 2019 at 12:29 AM Ray Hilton <[email protected]>
> wrote:
>
>> Basically, I feel it's a little unnecessary to have the username (in my
>> case, the entire email address) in the url.  It also leads to people
>> exposing their email if they copy/paste links.  However, the main reason i
>> want to use it is because some apps (like Theia) make assumptions about how
>> to encode the @ in the username (it encodes to %40) which then breaks the
>> websocket connection.  I have tried solving this in other ways, but I
>> figured why not just remove the username completely?
>>
>> Any thoughts?
>>
>> Ray
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Project Jupyter" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jupyter/CAJ%3DX9awAqTALJGvJQtbLih6BDBvYyXKnxA8oxvGgwcLSVAcfsA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jupyter/CAJ%3DX9awAqTALJGvJQtbLih6BDBvYyXKnxA8oxvGgwcLSVAcfsA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
> *CTRL-labs.com <http://CTRL-labs.com>*
> ScottDraves.com <http://www.ScottDraves.com>
> @Scott_Draves <http://twitter.com/scott_draves>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/CAMaD%2Bf7prierVPygq2TG2q_AzNz4ORmfZagi4%3DD6hrrxwf4-Jw%40mail.gmail.com
> <https://groups.google.com/d/msgid/jupyter/CAMaD%2Bf7prierVPygq2TG2q_AzNz4ORmfZagi4%3DD6hrrxwf4-Jw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAJ%3DX9aw4-x1FnQraZBz9j-W0h4NtK-ZB0rVW72RgN%3Dot8JM4UQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to