Search Unity

Implementing OAuth 2.0 Authentification for Microsoft Dynamics 365 Guides inside of Unity

Discussion in 'Multiplayer' started by JammiM, Nov 17, 2021.

  1. JammiM

    JammiM

    Joined:
    Oct 22, 2019
    Posts:
    1
    I'm creating a 2D Unity app not a mixed reality app

    Basically, My goal is to get the text contents inside of the Steps from Guides Datverse and display it within a canvas with a 2D Unity app

    I followed this tutorial for a simple Console Application and it worked fine,
    https://docs.microsoft.com/en-us/po...bapi/quick-start-console-app-csharp?tabs=adal


    I also followed this postman tutorial relating to getting the access token: https://docs.microsoft.com/en-us/powerapps/developer/data-platform/webapi/setup-postman-environment

    Currently, I'm trying to transfer what I learned/used in the Console App into a simple Unity app, e.g using 'UnityWebRequest' calls


    My problem is when I'm making the initial call to get the token, I'm doing something wrong but I don't what it is.

    Maybe it's the wrong parameters that I'm sending or the URL is wrong


    but when I make the request I get a response in the Unity console (in the form of text) of the sign-in webpage







     
unityunity