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

Issue/10019 move oauth seperated package #15201

Merged
merged 20 commits into from
Dec 27, 2022

Conversation

mahmut-gundogdu
Copy link
Contributor

Authentication codes move to OAuth package.

Resolves #10019

Test steps.
Run run build-all
Run copy-to-test
test on templates.
There is no new feature. This is only a refactoring about authentication. All auth related features will be work as well.

npm/ng-packs/package.json Outdated Show resolved Hide resolved
npm/ng-packs/packages/core/src/lib/abstracts/auth.guard.ts Outdated Show resolved Hide resolved

return headers;
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {
return next.handle(req);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should keep this.httpWaitService.addRequest(request); and .pipe(finalize(() => this.httpWaitService.deleteRequest(request)));

@@ -0,0 +1 @@
export * from './ auth-flow-strategy';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should be './auth-flow-strategy'

npm/ng-packs/packages/oauth/src/lib/utils/auth-utils.ts Outdated Show resolved Hide resolved
@@ -11,6 +11,7 @@
"@ngx-validate/core",
"@swimlane/ngx-datatable",
"bootstrap",
"@popperjs/core"
"@popperjs/core",
"@abp/ng.oauth"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think theme shared package doesn't depended oauth package

templates/app/angular/src/app/app.module.ts Show resolved Hide resolved
@muhammedaltug muhammedaltug added this to the 7.0-final milestone Dec 27, 2022
@mahmut-gundogdu mahmut-gundogdu force-pushed the issue/10019-move-oauth-seperated-package branch from 02b9f99 to 3a3a823 Compare December 27, 2022 12:43
@muhammedaltug muhammedaltug merged commit 40029b0 into rel-7.0 Dec 27, 2022
@muhammedaltug muhammedaltug deleted the issue/10019-move-oauth-seperated-package branch December 27, 2022 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

move the oauth out of @abp/ng.core
3 participants