Add access token support#19
Conversation
|
Hey @OwenPattison, any chance of getting this reviewed? Many thanks! |
|
@kamilturek only just seen this sorry. Will pick it up on Monday. Thanks for the PR! |
petevb
left a comment
There was a problem hiding this comment.
Tiny nit, otherwise LGTM. Thanks!
|
linter didn't like that - reverting. |
|
@petevb Thanks for the review. I think that the reason your suggestion didn't work is that the optional chaining was introduced in TypeScript 3.7 and this package uses targetprocess-rest-api/package.json Line 40 in fe51913 I didn't want to bump up the version on my own though. |
Makes sense, thank you for coming back to me and pointing that out - I assumed it was something like that but didn't have time to investigate. Thanks again for the PR, @kamilturek! 🥇 |
This PR adds a support for access token authentication.
https://dev.targetprocess.com/docs/authentication#personal-access-tokens-set-within-user-interface