Azure-Samples / active-directory-node-webapi

A NodeJS web API that is secured using Azure AD and OAuth 2.0 access tokens.
105 stars 64 forks source link

Calls to any endpoint apart from / result in a 401 unauthorised #18

Closed tomhallam closed 4 years ago

tomhallam commented 8 years ago

Hi,

I can't seem to figure out how to request the login screen to access the API - I seem to always hit Unauthorised whether that be in the browser or via curl.

I followed the setup instructions exactly and the server starts, just don't seem to be able to get any further. The last line in the application console is:

[2016-05-27T13:11:22.243Z]  INFO: AzureAD: Metadata Parser/6624 on local: Parsing JSON retreived from the signing keys endpoint.

Any help would be appreciated.

derisen commented 4 years ago

Closing this issue as there's a more recent sample here