locked
azure active directory problem RRS feed

  • Question

  • User65893105 posted

    Im using azure active directory for single sign on and im getting an error

    AADSTS70002: Error validating credentials. AADSTS50012: Invalid client secret is provided.

    Trace ID: fe326c9a-06ee-4bb4-9bbb-88b3c52b0500
    Correlation ID: dbb3cae5-2942-47d7-8a28-c91e2d70a34b
    Timestamp: 2017-04-11 14:01:31Z

    My web.config has a clientId and a clientsecret that matches the one in the azure active directory setting for my app, the issuerUrl also matches the TenantId in my web.config.

    In app registrations  I have a registration for my app with its appID (same as clientid in web.config) and a valid urI, a homepage and a logout URL.  If I run the app from my dev box (reply URL https://localhost:44332) I get the above error, If i run it from azure I get this error

    'the page cannot be displayed because and internal server error has occurred'

    I cant see that ive done anything wrong here, am I missing something obvious ?

    Tuesday, April 11, 2017 2:11 PM

All replies