-
-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outlook_graph - OAuth2 can't authenticate user #312
Comments
I founded this error:
This is the same error like this topic : https://stackoverflow.com/questions/60970010/calling-an-microsoft-graph-api-for-token-gives-error-aadsts900144-the-request And I can confirm, after send required parameter in form-data on postman i get successful response access token. So is possibility to change this in outlook graph app ? Has anyone run into the same problem ? |
Hey @siko0r! This is a problem with your Domain. Your second to last picture says that someone has to "Verify" this app, for it to be used by you. This means that until it has been concented, Shuffle will not receive any "code" from Office365 as you can see in the error message you shared. Can you confirm this is the case or not? We have improved the redirect page to actually contain this information - thanks! |
Hi. I don't think this is a reason. OAuth2 works when I try authenticat by admin account. I have no idea how to fix this issue |
Could you set up a call with me to debug it together? We've fixed loads of Oauth2 things recently |
Have you found the solution? We are facing the exact error. Here are the steps we followed: • We first downloaded the Outlook OpenAPI from Shuffler.io |
Hey @SAIKATDASGITHUB! This has to do with the URL that is used to authenticate. If there is a "prompt=consent" in the URL, then it will run through approval processes. This is something we had in older version of Shuffle, with newer ones removing it. The workaround until you get an updated Shuffle version locally is to change the URL AFTER the popup shows up to not contain the "prompt" part in the URL queries. PS: This app is also renamed to "Outlook Office365", and we've added a lot more debugging information for if and when the authentication may fail. |
Hi @frikky I was using the latest version for Frontend and Backend. The Shuffle packages page mentioned the newest version is Nightly. I have modified the docker-compose.yml file and restarted the Docker. The error is there but the authentication button has changed. Previously it was OAUTH2 Request and now it changed to Manually Authenticate. In the popup the URL contains prompt=consent but it is not editable in the popup. We ran the URL in a new tab after removing prompt=consent but getting the error need admin approval. We are using Outlook Office365. How to get the debugging information? |
Hi.
This problem occur only when I make authentication by user account.
User have all the necessary privileges.
When I try to OAuth2 REQUEST, then in seperate window I need login by this account. After that I geting prompt to ask admin for all priviliges (even I have all on). When I click Back to app i get Failed setup. Error info.
If I try make the same but for admin account everythin works correctly.
The text was updated successfully, but these errors were encountered: