Error Logging In with live Connect Oauth2: invalid_grant The provided value for the 'redirect_uri' is not valid

Hello,
I've been working with oauthwebsecurity to add a few identity providers to work with for authorization. But for some reason i can't get the Oauth2 protocol to work with windows live. I constantly get this error:
{"error":"invalid_grant","error_description":"The provided value for the 'redirect_uri' is not valid. The value must exactly match the redirect URI used to obtain the authorization code."}
I've checked the redirect_uri i send to the initial login request, and i get an access code back. but when i attempt to request the access token in the callback I get the error above even though the redirect_uri i send in the callback request is the same
as the initial log in request. any help or ideas would be appreciated.
Thx,
Ruud

Hello Ruud,
How are you? I just posted a similar problem, however, I vividly understand the process flow.  I believe this is a bad design and your can review my post entitled "Azure
Graph API oAuth 2.0 - redirect_uri required - bad design."  People are already starting to experience the problem and this wasn't required in the previous version.
I'd like to know Microsoft's feedback on this, particularly someone who has experience / insight into development.

Similar Messages

  • I want to determine the perfect values for the motor ... along with its pid values

    I'm ne to labview and this is my second program.... i designed a motor which maintains constan speed with varying load..... the problem is i dont know the real values of any motor. . .  and as the inertia across the load decreases the speed oscillates a lot . . . and i'm even not happy with the current(I(A)) readings ... they dont follow the motor characteristics i think . . .  can someone please point out the mistakes and clarify them for me ... 
    thanks in advance
    Attachments:
    Motor1_4.vi ‏304 KB
    Control 10.ctl ‏6 KB

    Hi Rahul,
    Please find below the require info:
    4.6 B                                   ECC 6.0
    'POPUP_TO_CONFIRM_STEP'               POPUP_TO_CONFIRM
    'TABLE_COMPRESS'                    Not obsolete
    'TABLE_DECOMPRESS'                    Not obsolete
    'WS_QUERY'
    'WS_UPLOAD'                         GUI_UPLOAD”
    'DISPLAY_BASIC_LIST'                    Not obsolete
    'POPUP_TO_DECIDE'                    POPUP_TO_CONFIRM
    'CLPB_EXPORT'                         Use class CL_GUI_FRONTEND_SERVICES
    'HELP_VALUES_GET_WITH_TABLE'          F4IF_INT_TABLE_VALUE_REQUEST
    'DISPLAY_GRID_LIST'
    'WS_DOWNLOAD'                    GUI_DOWNLOAD
    'POPUP_TO_GET_VALUE'               Not Obsolete
    'POPUP_TO_GET_DATE'     
    'DOWNLOAD'                    “GUI_DOWNLOAD”
    'WS_FILENAME_GET'                    KD_GET_FILENAME_ON_F4
    'READ_EXCHANGE_RATE_N'
    'CONVERT_DATE_INPUT'               Not Obsolete
    'DB_COMMIT'                    Nott Obsolete
    'WS_EXCEL'                         WS_DOWNLOAD and then execute WS_EXECUTE
    'STRING_SPLIT'
    'HELP_VALUES_GET'               F4IF_FIELD_VALUE_REQUEST
    'CHECK_IBAN_ACTIVE'
    'POPUP_TO_CONFIRM_WITH_MESSAGE'          POPUP_TO_CONFIRM.
    'POPUP_TO_CONFIRM_LOSS_OF_DATA'          POPUP_TO_CONFIRM
    'SYSTEM_GET_UNIQUE_ID'                    SYSTEM_UUID_C_CREATE
    'TR_RELEASE_COMM'
    'GRAPH_DIALOG'
    'CONVERT_TO_LOCAL_CURRENCY_N'
    'WS_FILE_DELETE'                              GUI_DELETE_FILE
    'WWW_GET_MIME_OBJECT'
    'GET_FIELDTAB'
    'HELP_VALUES_GET_NO_DD_NAME'          F4IF_INT_TABLE_VALUE_REQUEST
    'FI_DOCUMENT_ARCH_READ_SINGLE'
    Thanks
    Piyush
    Reward point, if helpfull.

  • Just need the record from the right (many) table with the max value for the Record on the left (one) side table

    SELECT
      ADHOC.ATS_ESH.Entry_Num
      ,ADHOC.ATS_ESH.Importer
      ,ADHOC.ATS_ESH.Version AS [ATS_ESH Version]
      ,ADHOC.ATS_ESL.Version AS [ATS_ESL Version]
    FROM
      ADHOC.ATS_ESH
      INNER JOIN ADHOC.ATS_ESL
        ON ADHOC.ATS_ESH.Customs_Entry_Num = ADHOC.ATS_ESL.Customs_Entry_Num
    I just need to see the MAXIMUM version number in the ESL table for each Entry_Num in the ESH table. ESH is the one side, ESL is the MANY side.

    Do you understand what this query is doing? Did you check the blogs I pointed you to?
    The query I provided gets the latest ESL version for each custom number. So, if max ESL version is higher than ESH version, it's just a coincidence. If you only want to see rows where versions do not match, just add an extra where condition, e.g.
    SELECT * FROM cte WHERE Rn = 1
    AND  [ATS_ESH
    Version] <>  [ATS_ESL
    Version]
    BTW, what is the type of these version
    columns and what kind of data in them? If they are character columns, sorting them in DESC order will not necessary return the latest version. Can you show some samples of the data in these two columns?
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • Secure connection failed: The Certifying Authority for this certificate is not permitted to issue a certificate with this name. (Error code: sec_error_cert_not_in_name_space) PLEASE HELP ME!!

    I have gone to this website almost everyday for years and I have not changed anything in my internet settings, but now I'm getting this message: secure connection failed: The Certifying Authority for this certificate is not permitted to issue a certificate with this name. (Error code: sec_error_cert_not_in_name_space) The only thing I KNOW I did differently, was I installed a CAC reader to my computer, since then, this has been happening. Is there a setting I can change?? E-mail is: [email protected] Thanks! Megan

    There were recently several users getting this error code who use AVAST 2015. If you recently got that program, please see:
    * [https://support.mozilla.org/questions/1029578 Can NOT access https://www.google.com for google voice, mail etc.]
    * [https://support.mozilla.org/questions/1028985 Avast Forum connection failed - works in Chrome etc.]
    * [https://support.mozilla.org/questions/1028190 Since last FF update I can't sign out of Yahoo and when I close FF it tells me it has crashed.]

  • Limit errors while working with multiple connections

    I'm currently evaluating SQL Developer and I'm looking particularly for functionnalities that permit to distinct clearly several connections, so as to avoid DBA errors when working with several connections in parallel.
    Currently it seems that SQL Developer provide these features :
    - folders organization in the explorer --> for example we can create one folder per environnement (DEV, ...).
    - connection name --> each user can define its own name. These aliases are then shown in main window title and tabs when opening a connection.
    These features ar quite limited when comparing with a tool like Toad, which permit to associate colors to connections (good feature!) or define custom fields. Moreover database user is not shown into the SQL Developer interface, unless we add it into the connection name...
    Do you know if it is planned to improve these features in following SQL developer releases ?
    Or,if not, would it be possible to develop rapidly a plugin that can provide it? (especially concerning connections colors)
    Thanks.

    OK I found a feature request that exactly corresponds to mine : [http://htmldb.oracle.com/pls/otn/f?p=42626:39:8190796679950913::NO::P39_ID:3881]
    But this request is 2 years old and was apparently rejected. Can I submit again a similar request?
    And do you know if it would be possible to add this feature by developing a custom plug-in?
    I mean: do SQL Developer plug-in extension mechanism allow us to extend the "connection preferences" wizard, and GUI?
    Thanks

  • Windows cannot load the user's profile but has logged you on with the default profile for the system.

    My Windows 7  crashed a couple days ago after a windows update, I got this message.
    Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off.
    I restarted the machine and got this message
    Windows was unable to load the registry. This problem is often caused by insufficient memory or insufficient security rights.
    DETAIL - The process cannot access the file because it is being used by another process. for C:\Users\TEMP\ntuser.dat
    I checked the event Log I found these .
    Windows cannot load the user's profile but has logged you on with the default profile for the system.
    DETAIL - Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
    Windows has backed up this user profile. Windows will automatically try to use the backup profile the next time this user logs on.
    Windows cannot load the locally stored profile. Possible causes of this error include insufficient security rights or a corrupt local profile.
     DETAIL - The process cannot access the file because it is being used by another process.
    This is the first error in the event viewer after a successful logon
    The description for Event ID 34 from source ccSvcHst cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
     If the event originated on another computer, the display information had to be saved with the event.
    ccSetMgr
    Windows cannot load the user's profile but has logged you on with the default profile for the system.
    DETAIL - Access is denied.
    Looking at the Logs all I can tell is that after the Desktop Window Manager started if caused this error.
    The winlogon notification subscriber <SessionEnv> was unavailable to handle a notification event.
    then this one
    The Desktop Window Manager has exited with code (0x40010004)
    Then this before it shutdown.
    The User Profile Service has stopped.
    I started up the PC and the first message I got was
    How can I get access to my user profile? do I need to createa new Administrator account? Please help
    The EventSystem sub system is suppressing duplicate event log entries for a duration of 86400 seconds. The suppression timeout can be controlled by a REG_DWORD value named SuppressDuplicateDuration under the following registry key: HKLM\Software\Microsoft\EventSystem\EventLog.

    hi do the following
    1. In Search programs and files (Windows 7) area, type in regedit, and press Enter.
    2. If prompted click yes,
    3.  expand the following HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
    4. click the sid that related to your admin profile (if you not sure, click each sid and in turn look to the right hand side of registry editor it will show who that sid is related to one of the registry files should hae in description localhost\admin or
    something similair)
    5. right click the sid and press delete.
    6. restart your machine and log back on with the admin account, this will then rebuild the admin profile... dont worry when it loads and none of your personal settings are saved or files or folders... go to c:\users
    in here you will see two folders for the admin account, one will be just admin and the other most likely admin.localhost
    i cant remember which one is which but just check both, one will still have all your files and folders in it.
    i suggest making a backup of your data before doing this incase something does go wrong, but ive had this happen many times in a domain enviorment and has worked for me everytime.

  • Where are the explanatio​ns for the error codes in Envy 120 EWS Event Log

    I have been having trouble with the printer, and following diagnostic recommendations from a separate thread, have looked at the event log.
    I see a series of events, mostly 74899 Printer Event and 74741 Network Information.
    What I DO NOT SEE is any explanation of these events, and whether they are normal or indications of trouble.
    I have also searched online for the Secret Message Decoder but nothing was found with Bing or Google.
    Seriously, what value are the codes without a way to interpret them?
    I beginning to regret my long-term loyalty to HP products.

    Hello @mikerb,
    I have read your post on how your desktop computer is displaying an error message in regards to a Kernel event log, and I would be happy to assist you in this matter!
    To further diagnose this issue, I recommend following the steps in this document on Windows Kernel event ID 41 error "The system has rebooted without cleanly shutting down first". This should help to resolve the critical error message.
    Just to be on the safe side, I also suggest following this resource on Testing for Hardware Failures (Windows 8); which should help determine if there is a hardware defect with one or multiple hardware components on your computer.
    Please re-post with the results of your troubleshooting, and I look forward to your reply!
    Regards
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • Does anyone know how to delete the back up for the ipod? I am getting an error message that says "iTunes could not back up iPod because it is corrupt or not compatible with iPod; delete back up and try again"

    does anyone know how to delete the back up for the ipod? I am getting an error message that says "iTunes could not back up iPod because it is corrupt or not compatible with iPod; delete back up and try again"

    Go to iTunes>Preferences>Devices and highlight the backup you want to delete and click on Delete Backup

  • Last night i was downloading the new update for the Iphone, and after the download was done and trying to install, it errored out.  And now my phone is stuck on the screen with the itunes icon and the USB.

    Last night i was downloading the new update for the Iphone4 on my laptop through Itunes.  After the download was done, it was starting to install, and then an error came up and didnt get a chance to check it.  Now my Iphone is stuck on the screen with the USB pointing to the Itunes Icon and wont do anything else.  Any advice on how to get this fixed, or do i need to go to the Apple store and have them look at it.

    slawdog31 wrote:
    Is the sleep wake button at bottom center of the Iphone or on top?
    Top
    iPhone User Guide

  • I recently purchased a MacBook Pro with Retina.  Which adapter do I purchase to connect it to a Samsung TV for the best quality?

    I recently purchased a MacBook Pro with Retina.  Which adapter do I purchase to connect it to a Samsung TV for the best quality? Thanks.

    Doesn't matter. All HDMI cables should work, some are considered better than others, I had a $5 ebay cable work just as good as a $20 monster HDMI cable.

  • Error: the QueryInterface call on the COM component for the interface with IID '{00063033-0000-0000-C000-000000000046}' failed due to the following error: Library not registered.

    I have a outlook 2007 plugin created in VS 2008 that reads calendar meetings. This plugin also works with outlook 2010. I used to debug this application from VS 2010 as well.
    Last month, I installed Office 365 to test something. Later I uninstalled this version but after that my plugin application is crashing, every time a new appointment/meeting is created in calendar.
    I get the below error:
    Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Interop.Outlook._AppointmentItem'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00063033-0000-0000-C000-000000000046}'
    failed due to the following error: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)).
    Tekriti Software

    Thanks for your sharing and have a nice day.
    Yoyo Jiang[MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • TS1398 After the recent update of iOS 7.0.6 my phone is having issues with wifi connectivity. It gets disconnected most of the time. It is very toublesome while watching videos, sending pics, chatting and so on. Please advise. Thank you.

    After the recent update of iOS 7.0.6 my phone is having issues with wifi connectivity. It gets disconnected most of the time. I went through support page and done with "Reset Network settings" too but it doesn't help. It is very toublesome while watching videos, sending pics, chatting and so on. Please advise.
    It works fine in LTE network. The problem is with WIFI only.
    Thank you.

    Hey Siddh.s!
    Here is an article that will help you troubleshoot this issue with your Wi-Fi connections:
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/ts1398
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • HT1911 What is error 1202? I cannot connect to itunes store. i have downloaded the latest version of itunes and still not able to connect to itunes store.

    What is error 1202? I cannot connect to itunes store. i have downloaded the latest version of itunes and still not able to connect to itunes store.

    For those who are getting annoyed, I have found a solution which requires you to create a new apple ID without using credit card information:
    1. Go the app store
    2. Hit cancel when it asks you to sign in (If it doesn't, continue to step 3)
    3. Find a free app and try to download it
    4.  you to sign in option will appear, it will ask you if you want to use existing ID or create a new apple id. SELECT CREATE NEW APPLE ID
    5. Follow the steps and when it gets to the stage it asks you for your card info, Choose 'None'
    6. Full in all you name and address etc... And click next.
    7. Verify your email and Enjoy downloading FREE apps
    8. Say thank you as I do appreciate your love :)

  • After upgrading on ios 6 i have problems with vpn connection..pls help if someone have the same problem

    problem with vpn connection after upgrading on ios6.pls help

    I've never been able to share FaceBook posts nor seen the option using the iOS FaceBook app regardless the FaceBook app and iOS version. I can Like and I can Comment, and if I select a link or video to view under iOS 6, I can use the Share option for the link or video, but not for a post.

  • SCCM 2012 R2 reporting error: "The DefaultValue expression for the report parameter 'UserTokenSIDs' contains an error: A specified logon session does not exist. It may already have been terminated. (rsRuntimeErrorInExpression)"

    Hi,
    I have two SCCM environments under same active directory domain and one service account have been used for SCCM configurations on both the environments (QA and PRODUCTION). I am facing similar error as mentioned above while trying to fetch reports on
    PRODUCTION site, but the QA site is working fine, though same service account have been used for configuring both. While looking at the reportserverservice_<date> log on my Production DB server i see the following error
    "processing!ReportServer_0-3!2124!01/02/2015-09:09:30:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: , Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during
    report processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot read the next data row for the dataset DataSet1. ---> System.Data.SqlClient.SqlException: Conversion failed when converting the nvarchar value 'Override
    Default' to data type int."
    My DB and SCCM primary site are different and the reorting services point is installed on remote DB server. Please help me resolving the issue.
    Troubleshooting performed:
    1.Disabled the registry key 'EnableRbacReporting' from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\SRSRP to 0 and then restarted SSRS service and the reporting worked for some minutes after that the registry key reverted back to 1 automatically and
    reporting started throwing errors again.
    2. Checked with the permissions on DB whether or not 'sysadmin' role is assigned to the SCCM service account.
    3. re-registered the SQL management Provider WMI class.
    mofcomp.exe “C:\Program Files (x86)\Microsoft SQL Server\110\Shared\sqlmgmproviderxpsp2up.mof”

    Hi All,
    Finally found exact solution to the reporting error.
    Error: while launching SCCM reports (both from Console and web based) an unexpected error occured with error message as "The DefaultValue expression for the report parameter ‘UserTokenSIDs’ contains an error: A specified logon session does not exist.
    It may already have been terminated. (rsRuntimeErrorInExpression)"
    Solution: This is password replication issue for the domain account used to configure reporting services point in SCCM. If your SQL SSRS reporting services instance and databse runs with local default account whereas the reporting services point on SCCM
    primary site is configured with domain account, (As in My case) you need to perform the following in order to get rid of the error.
    Launch 'Reporting Services Configuration Manager' from the SQL SSRS box(either Local or Remote), Connect to Report Server Instance->Go to 'Execution Account' tab->Specify the 'Execution Account' as domain account and password which is used to configure
    Reporting Services Point in SCCM Primary Site, and then click apply.
    Now Lauch the report either way (Web based or from Console), the error will disappear and all your default reports will execute perfectly as before.

Maybe you are looking for

  • Crash after split clip detect

    Speedgrade is crashing every time I'm trying a SCD. When I click "split into clips" it crashes. Sometimes it's working, but it's 3 times over 10, and only if there are a low number of splits. Not the first time that this happens when a client it's in

  • SAP B1 Patch Upgrade Problem

    Hello, I had SAP Business One 2005 B   SP:00 PL:01 and was using 0030002C0030002C00530041005000420044005F00440061007400650076002C0050004C006F006D0056004900490056  as Command Line Argument. But, now I've upgraded it to SAP Business One 2005 B (7.40.25

  • Por error asocie el nombre de mi esposa a mi cuenta de icloud. Como puedo cambiar el nombre de  i esposa al mio.?

    By mistake I named my wife to my email account. How I can change my user name.? I do not want to change my email account.

  • SGD 5.1- login problems.

    Hello, I have installed Oracle Secure Global Desktop 5.1 into Oracle Solaris 11.1 for x86. I have problems with the java versions. Can anybody tell me what is the best java version for the client's operating system (Windows XP, 7 or 8)? An other ques

  • Frequent locations accessible through apps

    Hi everyone, can you please confirm whether data from "frequent locations" or location services can be used or are used by other than mobile user itself? Meaning, are those data stored locally on particular device only or can they be accessed remotel