Comments (13)
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.
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.
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.
By looking at the link I now understand where I went wrong.
from mmm-microsofttodo.
I am getting the same issue. What did you do to fix it?
from mmm-microsofttodo.
from mmm-microsofttodo.
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.
@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.
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.
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.
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.
This isn't working for me either. I've double-checked that I've followed the steps in the readme , yet I still get
from mmm-microsofttodo.
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)
- Support to view My Day?
- Step support? HOT 1
- Black Screen HOT 2
- Error: Cannot find module 'node-fetch' HOT 4
- does it work on MagicMirror2? HOT 1
- Is there a way to not include overdue tasks?
- Bad Request Error HOT 15
- "Failed to load swrast driver" HOT 1
- Not linked to account. HOT 2
- Problems with instructions / authorization code generation (code) HOT 1
- Font Awesome icons not loading HOT 3
- User not a member of tenant HOT 3
- Login failure HOT 2
- Azure changes HOT 1
- In depth explanation of the step: Refresh Token Generation HOT 4
- Correct Credentials, appears to be missing a node module HOT 3
- replaceAll is not a function HOT 1
- Bad Request HOT 7
- Shopping list? HOT 2
- Does it support "Important" in ToDo? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmm-microsofttodo.