Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow custom headers to be passed to the request #151

Closed
dnns6 opened this issue Jun 16, 2023 · 2 comments
Closed

Allow custom headers to be passed to the request #151

dnns6 opened this issue Jun 16, 2023 · 2 comments
Assignees

Comments

@dnns6
Copy link

dnns6 commented Jun 16, 2023

Situation: I have a legacy Dynamics 365 (on prem) instance with a custom authentication. I can bypass that auth with specific http-headers (Coookies to be precise)

Request: Allow custom headers to be passed via the DynamicsWebApi config object which are added to each request. (Alternative: in the request object for each request... slightly more effort for me, but it would work)

Thanks for considering :-)
And thanks for the solution!!

@AleksandrRogov
Copy link
Owner

hi @dnns6 ,

Manual headers was something that I have been thinking of implementing for quite a long time, but I could not find a real use case where it was needed and that's why I have never done it. Well... now I have a use case! :) Thank you for creating a case and I will see what can be done.
Also, If I do this, most probably it will be to included it in a v2 or in one of the future patches, because I am very close to the release and adding new features to v1 is not feasible atm. Hope it's ok.

Thanks

@AleksandrRogov
Copy link
Owner

Implemented in v.2.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants