<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 11 Sep 2018, at 17:10, Marco Qualizza wrote:</p>

</div>
<div style="white-space:normal"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir="auto">I was wondering what the status is for Okta support in MailMate?  Is this something that you are working (or plan on working) on, or is it something that you'd like/need some community support/help getting done?</p>
</blockquote></div>
<div style="white-space:normal">

<p dir="auto">It's not something I'm working on, but if we can figure out how it's supposed to work then I'm willing to look into it. If I understand correctly, Okta isn't just Okta. Okta is used together with some existing service/company and MailMate would need to be registered with each of these services/companies to work with each one. Or more specifically, MailMate would need to be registered with a particular service/company to work with the use of Okta at that service/company. As previously mentioned MailMate is hardcoded to work with Gmail and outlook.com for which I've registered MailMate myself. In order to test a solution for an Okta-using IMAP/SMTP server I would need MailMate to be registered such that it has a <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">client_id</code> as described on <a href="https://developer.okta.com/authentication-guide/implementing-authentication/auth-code-pkce" style="color:#3983C4">this page</a>. Given that I could look into how similar the OAuth2-flow is compared to Gmail/Outlook (a quick look tells me that some things are different).</p>

<p dir="auto">If it works then I could then look into making it possible for the user to provide the <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">client_id</code> (and various settings) instead of having it hardcoded into MailMate as done for Gmail/Outlook.</p>

<p dir="auto">I hope that makes sense :)</p>

<p dir="auto">-- <br>
Benny<br>
<a href="https://freron.com/become_a_mailmate_patron/" style="color:#3983C4">https://freron.com/become_a_mailmate_patron/</a></p>

</div>
<div style="white-space:normal"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir="auto">On 29 Aug 2018, at 9:38, Benny Kjær Nielsen wrote:<br>
</p>
<blockquote style="border-left:2px solid #777; color:#999; margin:0 0 5px; padding-left:5px; border-left-color:#999"><p dir="auto">On 24 Aug 2018, at 17:04, Nicholas Vahalik wrote:<br>
</p>
<blockquote style="border-left:2px solid #777; color:#BBB; margin:0 0 5px; padding-left:5px; border-left-color:#BBB"><p dir="auto">I've met the guy that owns the Oauth2 stuff for Okta. He said it supports Oauth2 as long as MM supports "by the book" OIDC or Oauth support.</p>
</blockquote><p dir="auto">Well, MailMate has OAuth2 support for Gmail and `outlook.com` addresses. Part of OAuth2 is that the email client needs to be registered with the email service used. This is currently hardcoded into MailMate, but that could be changed. It still requires IMAP access to be available though.<br>
<br>
For the record, I believe Okta OAuth2 support for desktop apps is described [here](<a href="https://developer.okta.com/authentication-guide/implementing-authentication/auth-code-pkce" style="color:#999">https://developer.okta.com/authentication-guide/implementing-authentication/auth-code-pkce</a>). Although I haven't checked in detail it's probably close to what I do for Gmail/Outlook, but I don't think it's exactly the same.</p>
</blockquote></blockquote></div>
<div style="white-space:normal">
</div>
</div>
</body>
</html>