MicrosoftDocs / Advertising-docs

Creative Commons Attribution 4.0 International
15 stars 59 forks source link

authenticating from serverless-worker system #1039

Closed pentium10 closed 3 years ago

pentium10 commented 3 years ago

Hi @eric-urban I am trying to figure out how to run authentication in a serverless environment.

I am working with Reports, and pulling out campaign stats. The bing SDK code works fine with Outh authentication, but now I need to

is it possible to authenticate with a secret ?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

eric-urban commented 3 years ago

@pentium10 - You can register a web app and use the client secret. If using SDKs please see OAuthWebAuthCodeGrant. You still need to get initial consent via UI. Please see I want to run my application without user interaction. How can I authenticate without getting prompted for permission to use Microsoft Advertising credentials?.