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

Implement Login #2

Open
Cadair opened this issue Jul 18, 2021 · 3 comments
Open

Implement Login #2

Cadair opened this issue Jul 18, 2021 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Cadair
Copy link
Owner

Cadair commented Jul 18, 2021

As an alternative to providing an access token we should allow specification of a username and password. In addition to this we should auto-detect the homeserver address using well-known.

@Cadair Cadair added enhancement New feature or request help wanted Extra attention is needed labels Jul 18, 2021
@legomannetje
Copy link

Hey Cadair,

Im using your project with great joy! I saw you wanted this, so i wrote a simple python code to get the access_token from just the fulluser name and the password from a user.

https://gist.github.com/legomannetje/5328cf36bd512fbb5a5bbf942841d88c

I'm going to try to implement this in your code, but im not that good with python

@Cadair
Copy link
Owner Author

Cadair commented Aug 22, 2021

Thanks for starting working on this! You can also use things in matrix-nio (https://matrix-nio.readthedocs.io/en/latest/nio.html#id1) to help process matrix events and stuff.

@mrboogiee
Copy link

+1 I would really like this feature as it won't require an additional matrix client only for the purpose of octoprint notifications

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants