-
Notifications
You must be signed in to change notification settings - Fork 134
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
Add support for setup UI for local admin account #4031
Conversation
...tend/packages/core/src/features/setup/local-account-wizard/local-account-wizard.component.ts
Outdated
Show resolved
Hide resolved
...tend/packages/core/src/features/setup/local-account-wizard/local-account-wizard.component.ts
Outdated
Show resolved
Hide resolved
...tend/packages/core/src/features/setup/local-account-wizard/local-account-wizard.component.ts
Outdated
Show resolved
Hide resolved
}; | ||
|
||
this.applyingSetup$.next(true); | ||
this.store.dispatch(new SetupUAASave(data)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull out common code
src/frontend/packages/core/src/features/setup/setup-welcome/setup-welcome.component.html
Outdated
Show resolved
Hide resolved
params | ||
const params = this.getParams(setupData); | ||
return this.http.post(this.uaaSetupUrl, params, { | ||
headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try without this header but with plain object for params
- Fix background of error popup (ensure theme is initialised) - Fix setup via uaa (incorrect url) - Ensure error message in popup is shown (use new http error response object)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nwmac LGTM, might be worth you reviewing my commit though
… into setup-ui-local-auth
No description provided.