-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
API for Token based SOGo Login #6067
Comments
This comment was marked as outdated.
This comment was marked as outdated.
Hey @DerLinkman, wieso ist das denn kein feature? |
English please... Sorry misread your text... to busy lately... |
Ahh okey sorry, no problem |
A feature request, yes |
perfect, thanks for reopening |
Checkout #6070 |
We created a complete WHMCS module for mailcow. The only thing we need now is SSO login on the clientside so the client can login directly to their mailbox. Preferbly without using the API key. But doing it the proper way.... |
Summary
Hey Guys,
Im in the developing stage of an own Panel for my Users. I am relying on some functions of the Mailcow API to fetch Data like aviable quota, alias adresses, ... ... ...
But one function im missing, is the ability to a passwordless Login in SOGo.
And i know the function is in mailcow because as an user as well as an admin you can login in mailboxes directly from mailcow.
So why dont make it aviable for own purposes?
It could be that the Application sends an API Call to the endpoint with the same, or an extra api key in the auth header and in the post body the application can specify wich mailbox should be opened. As a response, we get a token. This token can we put then in the GET of the user and redirect him.
(f.e.: https://mail.example.de/sogo-auth-api.php?login=THE-GENERATED-TOKEN)
The token is linked to the email adress supplied in the post request and can only be used for this login.
I tried to implement it on my own in the sogo-auth.php file (/data/web/sogo-auth.php), but i didnt get it to work because i didnt quiet understood the logic behind this SSO login but i will keep searching to maybe make an working version for this.
Motivation
To Login from an Own panel without the need of entering a password
Additional context
No response
The text was updated successfully, but these errors were encountered: