on 09-09-2018 8:26 PM
Hi All,
I want to capture session ID/Token from the microsoft azure, once it should validate the user in active directory and pass the ID's. If the user will be valid.
I can get the Token's and pass into my UI5 application to populate the data, is that possible. Kindly help me with this.
I tried below code:
function callurl1(){ var settings = { "async": true, "crossDomain": true, "url": "https://login.microsoftonline.com/saurabhpersonalad.onmicrosoft.com/oauth2/token", "method": "POST", "headers": { "content-type": "application/x-www-form-urlencoded", "cache-control": "no-cache", "Access-Control-Allow-Origin":"*" }, "data": { "grant_type": "client_credentials", "client_id": "xxxxxx-902d-48ab-a69b-f5b9b6ba31c6", "client_secret": "H1'cd5RzMs45p%xxxxxx", "resource": "https://xxx.onmicrosoft.com/Customerportal" } } $.support.cors = true; $.ajax(settings).done(function (response) { debugger; alert(response); }); };
But i didn't get any response in my code.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.