-
Notifications
You must be signed in to change notification settings - Fork 4
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
OAUTH2 AZURE SCOPE #1
Comments
Hello Pablo @pablodav
With this parameters i obtain a token bearer but it redirect me to login.microsoftonline.com without push email and password Do you think it's possible to add extra args to resolve this probblem ? |
Hi @jbeaujour I think any extra arg is possible to add, but it is not clear for me what arg is needed to be added. |
Hi @pablodav |
I think you are missing the creation of client secret, with client secret
in your tenant created from azure ad, you don't need password.
El mié., 1 de diciembre de 2021 6:12 a. m., jbeaujour <
***@***.***> escribió:
… Hi @pablodav <https://github.com/pablodav>
thank's for the reply
After the redirect by the moodle site to login.microsoftonline.com, it's
like a form with "email" with commit and then "password" fields with
commit. After authent it's redirect to the moodle site.
I don't try with curl
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCA7H5DZELNMJIYHBNM6WTUOXRILANCNFSM5GQGGEOA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Hello
I'am trying to use your plugin for a web site on AZURE with login.microsoftonline.com authentication
I always have: Error getting access_token, http_code != 200, http_code: 400
I put this information :
--url 'https://[MY_SITE]/api/path'
--client_id '[APP CLIENT ID]'
--scope '/subscriptions/[TENANT]/resourceGroups/[RGR]/providers/Microsoft.Web/sites/[RESOURCE]'
--client_secret '[CLIENT SECRET]'
--grant_type 'client_credentials'
--auth_url 'https://login.microsoftonline.com/[TENANT]/oauth2/v2.0/token'
--oauth2
Is that correct ?
Thank's for help
The text was updated successfully, but these errors were encountered: