-
Notifications
You must be signed in to change notification settings - Fork 83
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
Anonymous Usage / Open web client / Mibbit alternative #346
Comments
Thank you! We don't support anonymous login right now, but I was hoping #21 and #320 would implement that. You can lock to a single irc server using https://convos.by/doc/config.html#convos_forced_irc_server, but there's no way to lock to a given channel at this time. |
Does the comments from #21 sum up what you want? @marcusramberg: I would like to have a restricted version of Convos, which only lets you log in and join a channel, without settings or persistence. For running a demo mode and embedding in company pages. @jhthorsen: My idea is to use JWT (JSON web tokens) with enough information for a user to register and automatically join a server/chat room. The payload of the JWT is a JSON structure with information, such as username, server and dialog/channel name. The signature is a checksum which the server can use to validate the payload. This means that unless the token was generated from a secure party, then Convos (or any JWT party) will reject the whole token. The last part about "kiosk mode" is that the actual user interface will be stripped down. (This is implemented in ef84205) |
My requirement is users come to site but no registration direcly select nickname or and give nick password to logon irc server. I cant found the cgiirc or webirc settings in the convos. |
I believe that this is a feature that a lot of people that follow the project are waiting for :) Great project btw |
I'm also quite interested and I'm willing to invest time to develop it. I've been playing (hacking) with the code base a bit but I haven't touched the plugin system. Some guidelines to where to look for would be appreciated. :) |
Cool alternative might be a social auth login option, e.g. log in with your Github account or any custom Open ID connect capable provider. Not sure though if a good library exists for Perl. in php there is for example hybridauth. |
Could someone explain to me step-by-step how this would work? I wonder if I'm over complicating things - Maybe this is very simple to implement..? Here is what I'm curious about:
Please provide other information if possible. Also, if the answer to 1.i is "yes", then maybe you want to look at #414 and #418. Also, if JWT is an option, then please open a new issue where you describe what information should be part of the generated JWT. |
What is the starting point?
How are user settings handled?
How are message history handled?
Can the server be used by regular users and anonymous users, or just one set of users?
Chatting
Interface
|
…#346 #444 #546 This implementation allow a Convos admin to set an environment variable to enable WEBIRC. Example: #!/bin/sh export CONVOS_WEBIRC_PASSWORD_LOCALHOST=some_super_secret_password export CONVOS_WEBIRC_PASSWORD_MY_SERVER=some_super_secret_password ./script/convos daemon The part after "CONVOS_WEBIRC_PASSWORD_" is the connection ID, in upper case, without the "irc-" prefix and special characters (such as "-") translated into "_". Setting the environment variable will cause the following IRC commmand to be sent to the server: WEBIRC some_super_secret_password convos <hostname> <ip> "hostname" will fallback to "ip" if the IP could not resolved. IMPORTANT! The "ip" will only update after a USER has gone to the connection settings and hit "Update". The default "ip" (until a user have updated the settings) will be 127.0.0.1. Also, the "ip" will not get updated when the user change IP. It will only get updated when the user actively goes to the connection settings and hit "Update".
A channel preview / web accessible log might be also interesting for inclusion in the CMS. Something similar to the Indieweb chat: https://chat.indieweb.org/ ( https://github.com/indieweb/chat.indieweb.org ). I guess a simple websocket capable widget might also do if the IRC server supports that (Ergo does). For example this could be used as a base: https://github.com/itskrystibitch/websocketirc |
I don't think you comment is related to this issue. Nevertheless there's too many privacy issues with your suggestion, so I won't include it. Please open another issue if you have further comments or discuss it on IRC. |
Hello,
First great project thank you. I want a use anonymous login to convos. No user registration but I want a lock single irc server to logon with only selected channels. how can i set the my requirements?
Convos did this or not?
Thanks,
The text was updated successfully, but these errors were encountered: