<br><br>Le jeudi 22 septembre 2016, Nicolas Sebrecht <<a href="mailto:nicolas.s-dev@laposte.net">nicolas.s-dev@laposte.net</a>> a écrit :<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Sep 22, 2016 at 09:18:14AM +0200, Rainer M Krug wrote:<br>
<br>
> OK - I added<br>
><br>
> ,----<br>
> | auth_mechanisms = GSSAPI, CRAM-MD5, PLAIN, LOGIN<br>
> `----<br>
><br>
> to the<br>
><br>
> ,----<br>
> | [Repository RemoteRMKrugGMAIL]<br>
> `----<br>
><br>
> section and the error message is gone.<br>
<br>
Roger that. We have a problem.<br>
<br>
The XOAUTH2 authentication should not be tried if no XOAUTH2<br>
configuration option is set.<br>
<br>
Could you please try v7.0.7?<br>
<br></blockquote><div><br></div><div><br></div><div>Thanks - Will do so tomorrow as I am upgrading at the moment.  </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> But I would like to try OATH2.<br>
><br>
> Now I would like to enable XOAUTH2 and I have all the clientid and<br>
> secret. But what is the "accountname" in<br>
><br>
> ,----<br>
> | oauth2_client_id_eval = get_client_id("accountname")<br>
> | oauth2_client_secret_eval = get_client_secret("<wbr>accountname")<br>
> `----<br>
><br>
> I tried my gmail address and the name of the project, but I still get<br>
> the same error message?<br>
<br>
The *_eval configuration options are the evaluable option to provide the<br>
the real value by a function stored in the pythonfile.</blockquote><div><br></div><div>Ok - got it.  </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Here, "accountname" is whatever string for the function in the<br>
pythonfile to return the correct value if there are more than one<br>
account using the same function. This helps to factorize the code in the<br>
pythonfile.</blockquote><div><br></div><div>So the value is stored somewhere else and the function returns the value - perfect. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
> Is there a specific dependency for OAUTH2?<br>
<br>
There is no external Python dependency. The dependencies should be<br>
provided by the "basic/default" Python environment.</blockquote><div><br></div><div>Ok - will try it out tomorrow and store the values in my keychain from the mac. </div><div><br></div><div>Thanks,</div><div><br></div><div>Rainer</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
--<br>
Nicolas Sebrecht<br>
</blockquote><br><br>-- <br>Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)<br><br>Centre of Excellence for Invasion Biology<br>Stellenbosch University<br>South Africa<br><br>Tel :       +33 - (0)9 53 10 27 44<br>Cell:       +33 - (0)6 85 62 59 98<br>Fax (F):       +33 - (0)9 58 10 27 44<br><br>Fax (D):    +49 - (0)3 21 21 25 22 44<br><br>email:      <a href="mailto:Rainer@krugs.de" target="_blank">Rainer@krugs.de</a><br><br>Skype:      RMkrug<br><br>