51 Commits

Author SHA1 Message Date
MoChilia
a457da9ea1 prepare release v2.3.0 2025-04-01 10:44:04 +08:00
Yan Xu
990b22f2bc Update .gitignore for ts project (#323) 2023-05-25 17:18:52 +08:00
eiffel-fl
28576d9764 Add caught error to core.setFailed() message. (#243)
This will help user to diagnose their problems using Azure/login.

Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>

Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
Co-authored-by: Balaga Gayatri <balaga-gayatri@github.com>
2022-12-19 16:45:48 +05:30
Christoph Hannebauer
fb7f28b20f Improved debug output (#272)
* Improved debug output

* Improved debig output in JS file

Change in JS file corresponding to the one in the TS file

Co-authored-by: Balaga Gayatri <balaga-gayatri@github.com>
2022-12-19 16:36:23 +05:30
Balaga Gayatri
dc26b5279a fix version for codeql-action in CI (#273)
* Update CodeQL v2

* fix lib object

* updated package-lock

Co-authored-by: jbenaventem <jesus.benavente@gruposantander.com>
2022-11-16 17:12:14 +05:30
Balaga Gayatri
68184fbd5a [BUG FIX] Version pattern quickfix master (#244)
* Update Constants.ts

* Update Constants.js
2022-10-26 15:14:31 +05:30
Balaga Gayatri
14a755a4e2 Id token errormsg (#234)
* putting id-token generation in try catch block

* Updating node version in action.yml
2022-06-21 16:43:50 +05:30
Balaga Gayatri
e021afe0dc Handling warnings and adding OIDC promotion message (#221)
* Handling warnings and adding OIDC promotion message

* Implementing NIT suggestions
2022-05-02 19:46:30 +05:30
Balaga Gayatri
84519181a8 Adding az installation requirement to login error response (#198)
* Update main.ts

* Update main.js
2022-01-19 22:50:55 +05:30
Balaga Gayatri
25454e5e2d printing token logs (#185) 2021-12-07 00:16:39 +05:30
Balaga Gayatri
4799d94391 Adding federated token logs & optional audience parameter (#159)
* cherry pick changes

* added audience field option in input params

* added js

* removed extra spaces

* Adding logs to surface AZ-CLI and powershell errors (#171)

* removing token logs
2021-11-15 12:45:07 +05:30
Balaga Gayatri
fd4c9019e3 oidc changes for master (#158)
* oidc changes

* Update ServicePrinicipalLogin.test.ts

Co-authored-by: Kanika Pasrija <58769601+kanika1894@users.noreply.github.com>
2021-10-22 16:27:01 +05:30
Arjun Gupta
3e306521aa add main.js 2020-12-30 22:14:08 +05:30
Arjun Gupta
ff610a161c add js build files 2020-12-28 16:36:51 +05:30
Arjun Gupta
9584e50c92 resolve merge conflict attempt #1. 2020-12-28 16:29:52 +05:30
Zainudeen V K
4440d80620 PR to include support for Sovereign cloud in azlogin action (#85)
* added support for Azure Gov cloud

* changes to Azure cloud

* az gov cloud changes

* changes as per PR comment

* chnages to include enum and valdiation

* changes to include validation

* changes

* deleted Enums.js

* changes to constant file

* added library of Consts.js

* changes from arary to set

* changes to environment input
2020-12-10 19:13:33 +05:30
aksm-ms
e7b230d17a adding params to escape symbols in az cli (#80)
* adding params to escape symbols in az cli

* addressed review comments
2020-11-06 15:37:06 +05:30
aksm-ms
45f2ccef11 adding az cli version debug logs (#76) 2020-11-03 17:12:56 +05:30
aksm-ms
3ca410cd24 adding lib 2020-11-03 14:14:40 +05:30
Usha N
f86425d665 Updating telemetry to remove Hashing of repo name (#66)
* Updating telemetry to remove Hashing of repo name

We have CELA sign off to log user name in telemetry instead of a Hash.. It will also help us map repo names with Azure subscriptions directly.

* Update main.ts

* adding lib/main.js

* adding main.ts

Co-authored-by: Ashish Ranjan <asranja@github.com>
Co-authored-by: aksm-ms <58936966+aksm-ms@users.noreply.github.com>
2020-10-21 10:25:56 +05:30
Rakesh Kumar
807bb60301 Update build files and add node_modules (#54)
* update build files

* add node_modules
2020-09-23 12:15:33 +05:30
aksm-ms
b25b548bf8 escaping single quotes (#38) 2020-06-15 14:31:32 +05:30
aksm-ms
f41148c378 fixing special char issue in clientSecret (#36)
* fixing special char issue in clientSecret

* Removing quotes from constants

* Adding scriptbuilder.js
2020-06-12 22:11:19 +05:30
JasonTheDeveloper
eeeade0627 fix: wrap PowerShellToolRunner.psPath in "" (#31) 2020-05-13 11:06:52 +05:30
aksm-ms
cf9ec15344 making login calls silent (#19)
Co-authored-by: Deepak Sattiraju <desattir@microsoft.com>
2020-04-15 11:39:47 +05:30
aksm-ms
3ec3e73a1c Added Unit tests (#15)
* Added unit tests for Azure PowerShell

* Added unit tests

* changes in utils

* removed babel

* changed variable name of enable-PSSession

* refactor

* added ci.yml

* changes in utils test
2020-04-08 17:42:18 +05:30
Akshaya M
946067d034 added boolean for error log 2020-03-27 18:01:05 +05:30
Akshaya M
28f29173ac added log in ServicePrincipalLogin 2020-03-27 09:56:23 +05:30
Akshaya M
6df92eb730 added review comments 2020-03-24 15:40:30 +05:30
Akshaya M
db864cee1a Code refactor 2020-03-22 23:54:24 +05:30
Akshaya M
0935db3306 Added telemetry info 2020-03-20 16:32:12 +05:30
Akshaya M
ad3250b83a Added changes for review comments 2020-03-20 16:00:28 +05:30
Akshaya M
a2be320a3e added review comments 2020-03-19 19:27:30 +05:30
Akshaya M
7e72509c6b changes in main 2020-03-19 11:38:04 +05:30
aksm-ms
860e5ace46 Revert "added paths in tsconfig.json"
This reverts commit cb2f4176bf.
2020-03-17 17:26:39 +05:30
aksm-ms
cb2f4176bf added paths in tsconfig.json 2020-03-17 15:34:44 +05:30
aksm-ms
09ec3faf97 changes in setmodulepath 2020-03-17 09:46:10 +05:30
Akshaya M
04bdab0c41 changes in scriptbuilder 2020-03-16 17:10:02 +05:30
Akshaya M
c909df3338 added review comments 2020-03-16 17:07:31 +05:30
Akshaya M
7fc98cfa3d Code refactor 2020-03-16 17:01:10 +05:30
aksm-ms
1c43646e3a code refactor 2020-03-10 10:18:25 +05:30
aksm-ms
1c9bfa52b4 changes in loginAzurePowerShell 2020-03-09 17:40:48 +05:30
aksm-ms
f805ead5d4 code refactor 2020-03-09 17:27:58 +05:30
aksm-ms
a68f90e22a changes in runner info 2020-03-09 14:00:22 +05:30
aksm-ms
12e896239f Added getlatestazmodule version 2020-03-06 12:26:11 +05:30
aksm-ms
7882b87bc3 using latest version 2020-03-05 16:11:15 +05:30
Akshaya M
5260ae1262 Changes in loginAzurePowerShell.ts 2020-03-05 00:58:14 +05:30
aksm-ms
739c3386a1 Added changes for azure powershell login 2020-03-04 17:44:34 +05:30
Sumiran Aggarwal
39a084ae3d adding user-agent 2019-12-13 14:33:11 +05:30
Sumiran Aggarwal
71af88b682 adding secret info link in logs 2019-12-10 13:14:07 +05:30