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

Configure a new services? #43

Closed
hammerfunctor opened this issue May 13, 2024 · 7 comments
Closed

Configure a new services? #43

hammerfunctor opened this issue May 13, 2024 · 7 comments

Comments

@hammerfunctor
Copy link

Hi there. Thanks for your work on this fantastic project. How can I configure a new service as before? I may have to use the microsoft consumers endpoints instead of the common endpoints due to my organizational restrictions. And, when I tried the client_id extracted from thunderbird, the process failed since the finishing uri http://localhost:8080/finish doesn't match the configured redirect URI. Many thanks!

@pdobsan
Copy link
Owner

pdobsan commented May 13, 2024 via email

@hammerfunctor
Copy link
Author

Okay I fight with those microsoft thing and figured it out. For organizational account, the configured Azure app has to be a multitenant one, or things are just messed up. With a single tenant app, one either fails to login his email account (with consumers endpoint), or the app refuse to serve (with common endpoints). After setting up a multitenant app, things shall work if a localhost:8080/finish redirectURI is added.

Would you mind to post of your old mailctl services.yaml config file.

My old service file is almost the same as others.

Thanks!

@pdobsan
Copy link
Owner

pdobsan commented May 14, 2024 via email

@benasocj
Copy link

For organizational account, the configured Azure app has to be a multitenant one

Unfortunately, this workaround doesn't work for me, since I don't have admin access to the organizational account (as it is the case with others as well). Therefore, I would appreciate the problem being fixed through the software.

@pdobsan
Copy link
Owner

pdobsan commented May 14, 2024

Release 0.10.1 set the redirect_uri back to http://localhost:8080. I hope this solves the problem for most of the microsoft account users.

If you already used @hammerfunctor 's trick then you need to do it again one more time.

@hammerfunctor
Copy link
Author

Unfortunately, this workaround doesn't work for me, since I don't have admin access to the organizational account (as it is the case with others as well). Therefore, I would appreciate the problem being fixed through the software.

I don't have admin access either. You could try it.

@benasocj
Copy link

I don't have admin access either. You could try it.

Sorry, I should have been more precise: My organization isn't giving me access to the relevant sections in MS Azure and MS Entra in order to set this up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants