<div class="gmail_extra">Many services have solved a similar problem (insecure to store passwords and don't want to reprompt) by authorizing an app key on behalf of the user.<br><br>I think you just picked a few services that have not been extended to support API usage, but most lenses should go against mature services correct?<br>
<br>David<br><br><div class="gmail_quote">On Tue, Apr 24, 2012 at 10:48 AM, Jo-Erlend Schinstad <span dir="ltr"><<a href="mailto:joerlend.schinstad@ubuntu.com" target="_blank">joerlend.schinstad@ubuntu.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Den 24. april 2012 16:28, skrev Alan Bell:<br>
<div>> On 24/04/12 14:57, Jo-Erlend Schinstad wrote:<br>
>> I'll take the opportunity to remind everyone of the<br>
>> <a href="http://lists.ubuntu.com/ubuntu-app-devel" target="_blank">http://lists.ubuntu.com/ubuntu-app-devel</a> mailinglist. (I'm CCing it).<br>
>> I don't think logging in and that type of stuff should be done in<br>
>> lenses at all. I'd present the user with a normal dialog if there<br>
>> isn't a valid OAuth token.<br>
> what is normal? are you saying lenses should create a gtkwindow of<br>
> their own to get credentials? What if you have lots of lenses? when<br>
> should they ask the user to log in? On opening of the dash?<br>
><br>
> I don't like the idea of a heap of different popups asking for<br>
> credentials appearing on opening the dash or doing a search for the<br>
> first time, I think lenses should wait until you open their page.<br>
><br>
<br>
</div>No, I think scopes should ask for authentication before you open the<br>
lenses. Preferably, they should ask on install. That only works for one<br>
user, though, so there needs to be a fallback. But I believe you have to<br>
log out and back in for new scopes to be used in any case. That's when<br>
it should appear in the message menu with an accompanying notification.<br>
<br>
Some kind of unified solution is obviously required. But I'm not sure it<br>
should be in the lenses. I'd personally prefer for them to be access<br>
only, and as little as possible "work". There are so many other things<br>
that, in isolation, could easily be seen as appropriate in lenses. But<br>
then you get lots of that, and lenses become less useful and friendly.<br>
<br>
Perhaps a "Dash and Net" item in the System Settings? This would<br>
possibly allow you to change the order of lenses, choose which<br>
applications should be used to handle online stuff, etc.<br>
<span><font color="#888888"><br>
Jo-Erlend Schinstad<br>
</font></span><div><div><br>
<br>
--<br>
Ubuntu-app-devel mailing list<br>
<a href="mailto:Ubuntu-app-devel@lists.ubuntu.com" target="_blank">Ubuntu-app-devel@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-app-devel" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-app-devel</a><br>
</div></div></blockquote></div><br></div>