Skip to content
This repository has been archived by the owner on Aug 7, 2021. It is now read-only.

remove the api version #149

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Windows Azure Active Directory Authentication Library (ADAL) for Node.js
The ADAL for node.js library makes it easy for node.js applications to authenticate to AAD in order to access AAD protected web resources. It supports 3 authentication modes shown in the quickstart code below.

## Versions
Current version - 0.1.22
Minimum recommended version - 0.1.22
You can find the changes for each version in the [change log](https://github.com/AzureAD/azure-activedirectory-library-for-nodejs/blob/master/changelog.txt).

## Samples and Documentation

[We provide a full suite of sample applications and documentation on GitHub](https://github.com/AzureADSamples) to help you get started with learning the Azure Identity system. This includes tutorials for native clients such as Windows, Windows Phone, iOS, OSX, Android, and Linux. We also provide full walkthroughs for authentication flows such as OAuth2, OpenID Connect, Graph API, and other awesome features.
Expand Down
2 changes: 0 additions & 2 deletions lib/oauth2client.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ OAuth2Client.prototype._createTokenUrl = function () {
var tokenUrl = url.parse(this._tokenEndpoint);

var parameters = {};
parameters[OAuth2Parameters.AAD_API_VERSION] = '1.0';

tokenUrl.search = querystring.stringify(parameters);
return tokenUrl;
Expand All @@ -102,7 +101,6 @@ OAuth2Client.prototype._createDeviceCodeUrl = function () {
var deviceCodeUrl = url.parse(this._deviceCodeEndpoint);

var parameters = {};
parameters[OAuth2Parameters.AAD_API_VERSION] = '1.0';

deviceCodeUrl.search = querystring.stringify(parameters);

Expand Down
7 changes: 1 addition & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@
"email": "msopentech@microsoft.com",
"url": "http://msopentech.com/"
},
"licenses": [
{
"type": "Apache 2.0",
"url": "https://github.com/AzureAD/aal/raw/master/License.txt"
}
],
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/AzureAD/azure-activedirectory-library-for-nodejs.git"
Expand Down