We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I need call ASP.NET Web API Breeze controller which use Windows authentication from Angular 5 / Breeze app.
I tried some modification for ajaxAdapter
import { config } from 'breeze-client'; let ajaxAdapter = <any>config.getAdapterInstance('ajax'); ajaxAdapter.defaultSettings = { headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, withCredentials: true };
import { config } from 'breeze-client'; let ajaxAdapter = <any>config.getAdapterInstance('ajax'); ajaxAdapter.defaultSettings = { headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, xhrFields: { withCredentials: true } };
Not work.
Request header doesn’t contains Authorization: NTLM ...
When I call Web API controller (no Breeze) which also require Windows authentication with Angular HttpClient it works.
const headers = new HttpHeaders({ 'Content-Type': 'application/x-www-form-urlencoded' }); this._httpClient.get(url, { headers, withCredentials: true }));
Request header contains Authorization: NTLM ...
Web Client:
"@angular/core": "^5.0.0", "typescript": "~2.4.2" "breeze-bridge-angular": "^4.0.2", "breeze-client": "^1.6.3",
Any Idea?
Solution:
Use https://github.com/Breeze/breeze.bridge2.angular + angular HttpInterceptor
The text was updated successfully, but these errors were encountered:
Duplicate. Breeze/breeze.bridge.angular#18
Sorry, something went wrong.
No branches or pull requests
I need call ASP.NET Web API Breeze controller which use Windows authentication from Angular 5 / Breeze app.
I tried some modification for ajaxAdapter
Not work.
Request header doesn’t contains Authorization: NTLM ...
When I call Web API controller (no Breeze) which also require Windows authentication with Angular HttpClient it works.
Request header contains Authorization: NTLM ...
Web Client:
Any Idea?
Solution:
Use https://github.com/Breeze/breeze.bridge2.angular + angular HttpInterceptor
The text was updated successfully, but these errors were encountered: