I'm trying to invoke an authentication process with a windows Azure AD tenant application using oAuth 2.0 by using curl. But I couldn't figure out what is the parameter "resource' in below sample code:
curl -X POST https://login.windows.net/<<YOUR--AD-TENANT-ID>>/oauth2/token
-F redirect_uri=http://google.com
-F grant_type=authorization_code
**-F resource=https://management.core.windows.net/ **
-F client_id=87a544fd-...
-F code=AwABAAAAvPM1...8sSAA
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…