<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Login authorisation  APIV2 in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Login-authorisation-APIV2/m-p/220377#M11664</link>
    <description>&lt;P&gt;I am usin this metod in-viewdidLoad to authorize loginf rom the login browser controller of dropbox.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&amp;nbsp;[DBClientsManager authorizeFromController:[UIApplication sharedApplication]
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; controller:self
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; openURL:^(NSURL *url)
&amp;nbsp;&amp;nbsp; &amp;nbsp; {
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [[UIApplication sharedApplication] openURL:url];
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp;&amp;nbsp; &amp;nbsp; }];&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;but after first time it is approved and when i cam again at the same screen again it appears the Dropbox browser login controller. How i can avoid this once it approve the authorization.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:22:49 GMT</pubDate>
    <dc:creator>bliss</dc:creator>
    <dc:date>2019-05-29T09:22:49Z</dc:date>
    <item>
      <title>Login authorisation  APIV2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Login-authorisation-APIV2/m-p/220377#M11664</link>
      <description>&lt;P&gt;I am usin this metod in-viewdidLoad to authorize loginf rom the login browser controller of dropbox.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&amp;nbsp;[DBClientsManager authorizeFromController:[UIApplication sharedApplication]
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; controller:self
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; openURL:^(NSURL *url)
&amp;nbsp;&amp;nbsp; &amp;nbsp; {
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [[UIApplication sharedApplication] openURL:url];
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp;&amp;nbsp; &amp;nbsp; }];&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;but after first time it is approved and when i cam again at the same screen again it appears the Dropbox browser login controller. How i can avoid this once it approve the authorization.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:22:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Login-authorisation-APIV2/m-p/220377#M11664</guid>
      <dc:creator>bliss</dc:creator>
      <dc:date>2019-05-29T09:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Login authorisation  APIV2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Login-authorisation-APIV2/m-p/220516#M11672</link>
      <description>The app authorization flow will be started whenever you call authorizeFromController. To prevent that from happening repeatedly, you should check if the user is already authorized before calling it. You can use authorizedClient to check that, as shown here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-obj-c/blob/003d03898d77052f5958938363be0b98e9088618/Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette/ViewController.m#L58" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-obj-c/blob/003d03898d77052f5958938363be0b98e9088618/Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette/ViewController.m#L58&lt;/A&gt;</description>
      <pubDate>Wed, 10 May 2017 17:29:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Login-authorisation-APIV2/m-p/220516#M11672</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-05-10T17:29:00Z</dc:date>
    </item>
  </channel>
</rss>

