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

[Feature Request] Support Mudlet's new telnet GMCP auth #3429

Open
Griatch opened this issue Feb 17, 2024 · 1 comment
Open

[Feature Request] Support Mudlet's new telnet GMCP auth #3429

Griatch opened this issue Feb 17, 2024 · 1 comment
Labels
feature-request A suggestion for new functionality.

Comments

@Griatch
Copy link
Member

Griatch commented Feb 17, 2024

Is your feature request related to a problem? Please describe.

https://wiki.mudlet.org/w/Standards:GMCP_Authentication

This describes a telnet-GMCP-centric authetication mechanism, suitable both for username/password and oauth. It would be interesting to support in Evennia, especially if Evennia adds oauth support for web logins.

Describe the solution you'd like

Research would need to be done for extending the GMCP protocol in evennia/server/portal/telnet_oob.py to support authentication like this. Most likely evennia/server/inputfuncs.py as well. See the ingoing message path in the Evennia docs for more info.

There are two settings here, password-credentials and oauth. Since we don't yet have oauth for web logins, the password login would be the simpler case here, and something to start with.

Describe alternatives you've considered

Additional context

@Griatch Griatch added the feature-request A suggestion for new functionality. label Feb 17, 2024
@Griatch Griatch changed the title [Feature Request] Support Mudlet's new telnet GMCP auth (Oauth for telnet) [Feature Request] Support Mudlet's new telnet GMCP auth Feb 18, 2024
@vadi2
Copy link

vadi2 commented Feb 18, 2024

For inspiration, an implementation inspiration in Python can be found here - it's really small: https://github.com/vadi2/gmcp-auth-mock/blob/main/mock.py#L53-L77

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A suggestion for new functionality.
Projects
None yet
Development

No branches or pull requests

2 participants