-
Notifications
You must be signed in to change notification settings - Fork 437
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
feat: support ng-add for standalone applications #1800
feat: support ng-add for standalone applications #1800
Conversation
a161ed9
to
dc80a99
Compare
@@ -1,5 +1,6 @@ | |||
// Public classes. | |||
|
|||
export { PassedInitialConfig } from './auth-config'; |
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.
Needed to be used to configure a standalone application in a type-safe way.
89aa922
to
a8a6cce
Compare
@@ -24,7 +24,7 @@ const IFRAME_SILENT_RENEW = `{ | |||
|
|||
const AZURE_AD_SILENT_RENEW = `{ | |||
authority: 'https://login.microsoftonline.com/<authorityUrlOrTenantId>/v2.0', | |||
authWellknownEndpoint: 'https://login.microsoftonline.com/common/v2.0', | |||
authWellknownEndpointUrl: 'https://login.microsoftonline.com/common/v2.0', |
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.
While testing the migration this gave a compile error, so I renamed this property to match the type.
f4e622b
to
b9698f8
Compare
I need to do some more tests, but I already created the PR for initial feedback and to let you know that I've started this.
Closes #1798
A first test seems like the default migration works for standalone applications.
Here's an overview of the changes in an empty application:
And it still works for a module based application: