cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

When authentication completes, user gets mail that says he logged in using AppleMail

When authentication completes, user gets mail that says he logged in using AppleMail

Daniel A.39
Explorer | Level 3

Our app runs on macOS and is written in Objective C, so we use this call to initiate authentication for a new user:

 

[DropboxClientsManager authorizeFromControllerDesktop:[NSWorkspace sharedWorkspace]

  controller:viewController

  openURL:^(NSURL *url){ [[NSWorkspace sharedWorkspace] openURL:url]; }

  browserAuth:NO];

 

As you can see, we are passing NO for browserAuth, so an embedded web view is used by the SDK to do the login, rather than launching the browser application.

 

When the authentication completes successfully, the user receives an email from Dropbox with the title: New login from AppleMail on Mac OS X.  The email contains this text:

 

We noticed you logged into Dropbox using AppleMail on Mac OS X at 10:01 AM GMT-05:00 from Davison, MI, United States.

 

Why does this email tell the user he logged in using AppleMail rather than our app? Is there some way we can control the application name that is reported in this email?

 

Thanks!

5 Replies 5

Greg-DB
Dropbox Staff
Thanks for the report! That's based on the User-Agent of the browser used, so it looks like we need to improve the detection there. We'll look into it.

Daniel A.39
Explorer | Level 3

Would be great if the message could (also) reference the product using the API, since that will give the user a lot more context regarding the email.

Greg-DB
Dropbox Staff
Thanks! I'll send that request along as well.

Greg-DB
Dropbox Staff
Quick update here, the email now includes the app name, so this should be less confusing for users. Hope this helps!

klm1
Helpful | Level 6

That's excellent -- thanks very much for adding that!

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    klm1 Helpful | Level 6
  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Daniel A.39 Explorer | Level 3
What do Dropbox user levels mean?