Giter VIP home page Giter VIP logo

Comments (13)

Ntracks avatar Ntracks commented on August 14, 2024 1

Okay der Schritt wäre jetzt geschafft. War etwas verwirrend :D
So jetzt hänge ich aber beim nächsten Schritt - ich habe die ID den Code usw. in den Terminal befehl kopiert und bekomme einen error...

{"error":"unauthorized_client","error_description":"AADSTS700016:
usw.

Ich würd das dermaßen feiern, wenn du dazu ne YouTube Anleitung machen könntest.
Würd dir auf jeden Fall ein Like und ein Abo dalassen!

Edit: Respekt für die Umsetzung! Das is ja mal bisher die heftigste implementierung die mir untergekommen ist :D

from mmm-microsofttodo.

thobach avatar thobach commented on August 14, 2024

Hi @BaggyJeans,
This is expected. We're only interested in the URL parameters, in particular the code parameter, please see https://github.com/thobach/MMM-MicrosoftToDo#authorization-code-generation-code.

from mmm-microsofttodo.

BaggyJeans avatar BaggyJeans commented on August 14, 2024

Hi thobach,

the URL I end up with looks nothing like the example you show in the guide:
https://localhost:1234/?error=invalid_request&error_description=The%20request%20is%20not%20valid%20for%20the%20application%27s%20%27userAudience%27%20configuration.%20In%20order%20to%20use%20/common/%20endpoint%2c%20the%20application%20must%20not%20be%20configured%20with%20%27Consumer%27%20as%20the%20user%20audience.%20The%20userAudience%20should%20be%20configured%20with%20%27All%27%20to%20use%20/common/%20endpoint.&state=12345

and the word code is nowhere in there.

from mmm-microsofttodo.

BaggyJeans avatar BaggyJeans commented on August 14, 2024

By looking at the link I now understand where I went wrong.

from mmm-microsofttodo.

pastormingle avatar pastormingle commented on August 14, 2024

I am getting the same issue. What did you do to fix it?

from mmm-microsofttodo.

BaggyJeans avatar BaggyJeans commented on August 14, 2024

from mmm-microsofttodo.

pastormingle avatar pastormingle commented on August 14, 2024

Thanks for following up BaggyJeans.. I am still not able to get a code even after trying IE instead of chrome. This is the link i am using and putting my my ID "MY ID CODE" "https://login.microsoftonline.com/common/oauth2/v2.0/authorize?response_type=code&client_id=MY ID CODE&scope=offline_access%20user.read%20tasks.
Is this correct?

from mmm-microsofttodo.

thobach avatar thobach commented on August 14, 2024

@pastormingle I think your URL is missing the following at the end "readwrite%20tasks.read&redirect_uri=https://localhost:1234&response_mode=query&state=12345".

Please watch out that the code blocks in the readme file are quite long and not everything may be shown on the screen without horizontal scrolling.
If you triple click on the URL on the readme file it should select the entire line which you can copy and past to e.g. a text editor to adjust and then copy and past into your terminal.

from mmm-microsofttodo.

Ntracks avatar Ntracks commented on August 14, 2024

Does not work for me as well - i have added "Value" and than because it didn't work "ID" instead of >>MY_ID_CODE<< but there is only an error message.

https://login.microsoftonline.com/common/oauth2/v2.0/authorize?response_type=code&client_id=>>MY_ID_CODE<<&scope=offline_access%20user.read%20tasks.readwrite%20tasks.read&redirect_uri=https://localhost:1234&response_mode=query&state=12345

I only get:

unauthorized_client: The client does not exist or is not enabled for consumers. If you are the application developer, configure a new application through the App Registrations in the Azure Portal at https://go.microsoft.com/fwlink/?linkid=2083908.

from mmm-microsofttodo.

thobach avatar thobach commented on August 14, 2024

Hi @Ntracks, The "Value" (client secret) is only needed in again in step "Refresh Token Generation (Refresh Token)" (https://github.com/thobach/MMM-MicrosoftToDo#refresh-token-generation-refresh-token). In step "Authorization Code Generation (Code)" (https://github.com/thobach/MMM-MicrosoftToDo#authorization-code-generation-code) you will needed the "Application (client) ID" (Client ID) from step "Web App Registration (Client ID)" (https://github.com/thobach/MMM-MicrosoftToDo#web-app-registration-client-id).
If you send me to [email protected] some screenshots of your Azure portal app setup and the URLs you generated, I may be able to help you trouble shoot further, e.g. confirm that the URL with the client ID is correct, the app is correctly configured to be enabled for consumers, etc.

from mmm-microsofttodo.

thobach avatar thobach commented on August 14, 2024

I just checked the procedure with a fresh Microsoft account and it still works for me. Note: This setup does not work under an Azure Germany (with T-Systems as data trustee) account.

To rule out that there is any issue with your Microsoft account, please try it with a fresh one by going to https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredApps, select "Create one!" and follow the Microsoft account creation process.

Afterwards please see my video with recorded instructions for the creation of the Azure Client ID, secret and refresh token: https://www.youtube.com/watch?v=3JPkm3bVR4w

Please let me know if you still face any difficulties, thanks!

from mmm-microsofttodo.

robertybob avatar robertybob commented on August 14, 2024

This isn't working for me either. I've double-checked that I've followed the steps in the readme , yet I still get
image

from mmm-microsofttodo.

thobach avatar thobach commented on August 14, 2024

Hi @robertybob,
This is expected. We're only interested in the URL parameters, in particular the code parameter, please see https://github.com/thobach/MMM-MicrosoftToDo#authorization-code-generation-code.

from mmm-microsofttodo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.