Someone told oauth2 Microsoft working on BB10?

My application doesn't oauth2 to Bitly and Google accounts and now I try to do the same with a Microsoft account (OneNote in this case, but intend to in the future: OneDrive). The problem is that when I try to add my app on Microsoft development portal, it doesn't let me use localhost for the redirect URL as I did for two Bitly and Google. Basically my app runs a tiny web server that gets the redirect, but unlike other services Microsoft will not allow the redirection Server sit on 127.0.0.1 (localhost). On a desktop system, you can edit the hosts file to work around this problem for development, but is not an option in production on a BlackBerry 10 device.

Someone did he do oauth2 with an account of Microsoft on BB10 successfully?

Solved my problem. The problem is that Microsoft Live App Management Site will not let you use "http://localhost" or "127.0.0.1" as the oAuth2 redirect URL. You may not use the trick of the developer to put an entry in the hosts file that points to 127.0.0.1 because no BB10 app to do. However, the solution is much simpler than I expected...

In my search for an answer, I came across localtest.me which solved the problem in you giving a URL legitimate which will accept the MS Live Apps site and which resolves to 127.0.0.1. Call me so paranoid, but I'm uncomfortable my app if press a host name that I can't control, so I decided to see if I could get the same effect with my preferred supplier for free dynamic DNS, DtDNSof coding. I already had an account, so I just added a few new hostnames, type of the static value (since it does not need to update the IP address) and put both to point to 127.0.0.1. Then I crossed my fingers and rattling of the sites. It usually takes a few minutes to a few hours to change DNS spread to the DNS servers of the world, but in a couple of minutes two host names began to resolve to the localhost address, just as I had hoped.

Now I can write my oAuth2 code to use one of the new host names, that I created as the redirect URL and Microsoft don't stop me.

I intend to keep these two host names to live indefinitely, so feel free to use one of them yourself if you wish (or the localtest.me one) but if you want to be sure, that you can control the continued existence of the hostname and what it points to, then just repeat my solution with the free dynamic DNS service of your choice. Here are my two new host names:

localhost.dtdns.NET

or

localhost.flnet.org

Tags: BlackBerry Developers

Similar Questions

  • Someone at - he obtained 4.7 FB to work for BB10 projects?

    I spent some time the migration to a new development environment.  Among the updates of this environment has been the use of FB4.7, I followed the installation instructions detailed here on the forums.  I am trying to launch a mobile project very simple actionscript and have had no success.

    I'm trying to debug an application on the alpha dev device.  Unfortunately, during the launch of the app all I get is a black screen that appears, then disappears immediately.  I get no error message during the FB debug console and there seems to be no error output.  I noticed that when disappears from the black screen the debugging process FB4.7 is still trying to complete.  And after reaching 100%, I get an error message indicating that it could not find the device to debug against.  That seems wrong to me.

    Any advice or assistance would be appreciated.

    Please notify.

    Brandon Phillips

    I had the FB 4.7 environment to work with BB10 and my DevAlpha so it is possible. And I didn't have to do a superposition of the SDK. Have you seen the instructions here:

    https://developer.BlackBerry.com/air/documentation/BB10/install_bbtos_sdk_fb47.html

    Specifically "Force AIR runtime version 3.1, step which is easy to miss, as it is in the section"Create your first application"(I jumped at first, thinking that I knew how to do part... :-), and I think that I found myself with similar problems as yours then).

    https://developer.BlackBerry.com/air/documentation/BB10/gsg_change_runtime_fb.html#mah1354223642439

    Hope that helps

    Anna

    My app: Get set - get up!   Get ready for the revolution snooze.

  • 2 UPDATES constantly FAIL to INSTALL: a security update for Microsoft Works 9 (KB2431831) update of security for Microsoft Office System 2007 (KB2288931)

    2 UPDATES have consistently failed to install since 12/16/10: update of security for Microsoft Works 9 (KB2431831) and update of security for Microsoft Office System 2007 (KB2288931). I tried to REINSTALL... and CONTINUED on for more than a week now with no result. I don't get the error messages or codes, so I'm not sure what to do! They are considered IMPORTANT so I guess that I need these updates and I TRIED to RESTART after update with NO RESULTS as well. The 2 latest updates only "UPDATED successfully", before the long chain UPDATES failed, which began on 12/16/2010 (as previously mentioned) were: update for Internet Explorer for Windows Vista (KB2467659) and Security Update for Windows Vista (KB2305420) someone knows what do to update failed? Any help would be most appreciated. Thank you. {By the way... I use my computer for use at home or school.} Thank you.

    This has been answered above in my first post. I didn't know that I reposted on the same site. Thanks :)

  • Update for Microsoft Works 9 (KB2680317) security 2.1 MB receive error code 646

    I tried to install the update of security for Microsoft Works 9 (KB2680317) 2.1 MB since it was released.  I get a message update failed with an error code 646 Windows update encountered an unknown error. I installed the fix for windows update and it still does not work.  I hope someone can suggest how to get this installed update.

    Code error '0 x 80070646', '646', or '1606' when you try to install the Office updates
    http://support.Microsoft.com/kb/2258121

    or try to manually download and install: http://www.microsoft.com/en-au/download/details.aspx?id=29346

    You may need the installation media in the installation drive to install the update.

  • KB2680317 Microsoft works 9 upgrade update keeps failing

    I get this error since May.  This same lack of upgrade keeeps.  Someone at - it ideas?  Thank you.

    Hello

    Method 1
    Step 1: I suggest to perform the clean boot and then try to install the update.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note: Follow step 7 clean boot KB929135 article to reset the computer in normal mode.

    Step 2: I suggest you to download and install the update from the Download Center.

    Update of security for Microsoft Works 9 (KB2680317)
    http://www.Microsoft.com/en-US/Download/details.aspx?ID=29346

    Method 2
    I suggest you try the steps from the following link:

    Problems with installing updates
    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-installing-updates

  • Error code 646 install Microsoft update of security for Microsoft Works 9 (KB2680317)

    I have an update from Microsoft for Microsoft Works 9 (KB2680317) security

    You may have to restart your computer for this update is taken into account.  I restart the computer and install it is still there.  I tried Miicrosoft Fiix and nothing has worked.  I did a system restore and that didn't work.  I don't know what else to try.  Please someone out there can help.
    Update type: Important
    A vulnerability of security in Microsoft Works 9 that could allow arbitrary code to run when opening a file modified for malicious purposes. This update resolves this vulnerability.
    More information:
    http://www.Microsoft.com/technet/security/bulletin/MS12-028.mspx
    Help and Support:
    http://support.Microsoft.com/kb/2680317

    [Transferred from Internet Explorer]

    Hello

    1 are there any changes made recently to the computer?

    2. What are the steps that you have already tried to solve this problem?

    I suggest you try the following steps:

    Method 1.

    If you have already tried Microsoft Fixit then try Troubleshooting Manual.

    You receive the error code: 0 x 80070646, error code: 646 or error code: 1606 when using Windows Update or Microsoft Update

    http://support.Microsoft.com/kb/2258121

    Registry warning

    To do: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    322756 (http://support.microsoft.com/kb/322756/)

    How to back up and restore the registry in Windows

    Method 2:

    Run the fixit available in the link below to reset windows update components. 

    How to reset the Windows Update components?

    http://support.Microsoft.com/kb/971058

    Registry warning

    To do: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    322756 (http://support.microsoft.com/kb/322756/)

    How to back up and restore the registry in Windows

    If you still have questions, then follow

    Problems with installing updates
    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-installing-updates

    Hope this helps you.

  • Processing will not be open. I get two Error Messages. I'll provide more details below. (1 - processor Microsoft Works here: WksWP.exe - bad Image)

    I have Windows 7 Premium, which was already installed on the computer.  I have no problem with the opening of other programs, but the Microsoft Works word processor.  The first error message states: "C:\PROGRA~2\MICROS~1\wkwpqd.dll is not designed to run on Windows or it contains an error.  Try to install the program by using the original installation media or contact your system administrator or support software provider. "When I click on 'OK' a message appears saying,"Word cannot access one or more files that he must run Word-processing.  The files may have been renamed, deleted, or moved.  Try reinstalling works, and then restart the program. »

    I tried to run the program in compatibility without success mode.  Any help would be appreciated.

    Thank you

    Well, it's a problem. The only supported solution (unless you have a
    PC Backup) is to reset the computer to factory settings which will be
    lose all your files and software that you have installed. Pretty drastic.
     
    You can try this. Find works in the start - menu control panel (click on Classic on the)
    left side) - programs and features. There should be a button to repair on
    the toolbar just above list when Works is selected.
     
    You can watch it on the D drive (or whatever drive is the drive restore - it)
    can be hidden) to see if this file exists as a stand-alone file.
     
    If someone you know as a work you can fly the file from them.
     
     
    --
    ..
    --
    "C. Angel" wrote in message news: 578ce9dc-9971-4ba1-FCEB-e93bcd9f1cf5...
    > This software was already installed on the computer, therefore, I have no cd
    > rom to reinstall.
    >
     
     
  • Password protect a microsoft works text document.

    Is it possible to password protect microsoft works document, if yes, could someone please explain to me how. Thank you very much.

    For better assistance, please try rather Microsoft Works discussion group:
    http://www.Microsoft.com/products/works/newsgroup.mspx

    Hope this helps, Vincenzo Di Russo - Microsoft MVP Windows Internet Explorer, Windows Desktop experience & Security - since 2003. ~ ~ ~ My MVP profile: https://mvp.support.microsoft.com/profile/Vincenzo

  • I CAN'T START MY MICROSOFT WORKS!

    I HAD A VIRUS AND GOT MY COMPUTER FIXED. THEY CLEANED UP, BUT WHEN I TRY TO GO TO MICROSOFT WORKS I CAN NOT ENTER. IM A STUDENT ACADEMIC AND HAVE SO MANY DOCUMENTS TO CATCH UP ON... SOMEONE HELP PLEASE!

    http://www.Microsoft.com/communities/newsgroups/list/en-us/default.aspx?DG=Microsoft.public.works.win&cat=en_us_9804e2ac-c762-44C9-9c6f-90e45f32d772&lang=en&CR=us

    Discussions in microsoft.public.works.win

    They will help you with your question of work in the work above Newsgroup.

    See you soon.

    Mick Murphy - Microsoft partner

  • How to activate Microsoft works 2007 is installed in the netbook computer purchased July 2009

    I bought the acer netbook computer in July 2009 of BJs with windows vista Basic and microsoft 2007 is installed. When I open microsoft 2007, it asked for the product key. I ignored more than 25 times because I didn't know where to look for it despite the evidence it contained. I discovered later by chance the product key on the bottom of the computer in a lable. Immediately, I opened works of mircrosoft and put in the product key. It would allow me to enter the 25 character. Instead, he gave a red message that the product key is wrong. Can someone advise me on how to activate the microsoft work 2007 and make it work with all the features. Thank you.

    http://support.Acer.com/

    Contact Acer for any problems with their software pre-installed.

    You can buy the Works/Word.

    The product key on your computer/laptop is for the operating system Vista, not Applications for office/work.

    See you soon. Mick Murphy - Microsoft partner

  • Microsoft Works 9.0 font cache stopped working

    Whenever I try to open Microsoft Word, I get an error that says: "Microsoft Works font cache stopped working" has anyone else had this problem and if so, how do I do, I was on the phone with Microsoft today for about an hour and a half and they couldn't tell me something all they kept saying was that it was an unusual problem I'm very frustrated, it's their techs told me this! They are to those who are supposed to know how to repair their product! ANY help would be greatly appreciated!

    Word:

    http://answers.Microsoft.com/en-us/Office/default.aspx

    Office at the above link forums

    http://answers.Microsoft.com/en-us/Office/ee861096.aspx

    Word Help Forums at the link above.

    They will help you with your question Word when repost you in the Office Forums above.

    See you soon.

    Mick Murphy - Microsoft partner

  • Microsoft Works that shows maps, etc.

    Recently purchased new computer Windows Vista. When opening am a message appears asking you if I want to download Microsoft Works, since I didn't know what to do, he disappeared. I don't know what are the programs supplied with Vista, however, it wouldn't let me download Microsoft Word, unless I paid for it. I have not received any records or books with my computer (Acer). So please can someone help me u? I have tried to make contact with Microsoft, but they charge a wholesale rate.

    If you want to know what comes with your computer, contact the manufacturer, ACER; or read the online books about it:

    http://support.Acer.com/

    You have to buy Microsoft Products: Word, etc.

    http://store.Microsoft.com/Microsoft/Office/category/2

    You can buy Office from the link above, or your local computer/Dept store.

    Or, for a FREE set of Applications Office:

    http://www.OpenOffice.org/

    See you soon.

    Mick Murphy - Microsoft partner

  • Transfer of Microsoft Works

    I have an old laptop that is phased out in favor of the more modern. Both are on Windows 7 SP1. The former came with Microsoft Works preinstalled but it doesn't have this feature, and I do not have a disk of Works Setup. I guess that I could simply transfer the file work of the other computer on this one, but I'm not sure it works as the registry keys would not transfer and I could finish with the register in a mess if I tried to do it manually.

    I don't want to have to pay for the works everywhere - I consider that I did when I bought the old machine. Can someone help with this problem?

    This transfer would not work and would be both the license and the right to the United States and in most of the countries.  The license of use of the works is related to this PC with OEM agreement.  It is better to create your own PC to allow the software when you buy one with factory pre-installed operating or software.

    Your only option is to buy new software.  But doesn't that depress you, it is unlikely that the version of Works would work even on the new PC.  The software is interrupted, and support is complete.

    I would take the free road: download your files from work to OneDrive.com and using the word free online or even WordPad locally.  Sure, you could buy the replacement of Microsoft Works (Microsoft Office), but which is $65, you can't pass.

  • Issue on the keyboard of the screen when you are using Microsoft Works.

    Close

    The on-screen keyboard does not appear to properly type the items inside.

    It could also bee a program compatibility problem, my PC is too new for her to work just & and/or may not be recognizing each keystroke.

    If someone who might have a solution to this, please reply to my email address @: * e-mail address is removed from the privacy * as soon as you can.

    Thank YOU, Chris Canfield.

    Discussions were merged.

    Deleted duplicates.

    Hello

    Thank you for the quick update.

    Since you have confirmed that the issue is limited to Microsoft works word processor, please ask your question in the following link:

    http://answers.Microsoft.com/en-us/Office/Forum/office_other?tab=threads

    See also what Deepa Raj replied on 23 January 2013 has suggested that it might be useful.

    Thank you.

  • I can't understand what the Microsoft Works versions will work on Win 7!

    Hi, I have a laptop running Windows 7 (I like it better than winning 8, sorry, Microsoft!).  I can't understand what the Microsoft Works versions will work on Win 7!  I have 2 different versions: Works Suite 2001 and Works Suite 2003, but I can't get one of them to install.  Someone please help - NON-techie language, if possible. I'm an old lady, not a tech person!   Thank you very much.

    Original title: I have a question!

    Use Compatibility Mode see the video

    http://Windows.Microsoft.com/en-us/Windows7/make-older-programs-run-in-this-version-of-Windows

Maybe you are looking for

  • I had an erratic cursor.

    I had an erratic cursor.  My battery has 265 cycles and 'normal '.  I tried your ideas and I thank very you much.  Right now everything is OK.  I didn't acting OK for a week yet and not even for a day. My sister sent me a spam, after that she complai

  • light of Windows

    I can not install updates on windows light.what is this program

  • (Redirected) customer service? is there one

    spending hours on hold, talk to 5 different dept they transfer me to another Department again and again and again... no way to talk to them. Since michael dell took the customer service has gone

  • What is a new installation?

    I'm trying to do a clean install, but I'm not. I clicked on run an option to clean install of Windows 7 from the desktop to Vista Ultimate 64-bit edition. Then he spat his guts and has failed, translated I waited long time and then end of Win 7 back

  • Add HorizontalFieldManager to ObjectListField

    Is this possible?