-
Notifications
You must be signed in to change notification settings - Fork 392
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
CB-5625 Show only enabled identity providers in configuration section #2927
CB-5625 Show only enabled identity providers in configuration section #2927
Conversation
…oviders in checkbox
|
||
export type AuthProvider = NonNullable<AuthProviderInfoFragment>; | ||
export type AuthProviderConfiguration = NonNullable<AuthProviderConfigurationInfoFragment>; | ||
|
||
@injectable() | ||
export class AuthProvidersResource extends CachedMapResource<string, AuthProvider> { | ||
get configurable(): AuthProvider[] { | ||
return this.values.filter(provider => provider.configurable); | ||
const enabledAuthProviders = new Set(this.serverConfigResource.enabledAuthProviders); |
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.
We dont want this logic in resource, please move it to the plugin-identity-providers-administration and filter on the component level, also we want to show some placeholder (we need to thing about the ui) if there is no available providers
… auth providers in checkbox" This reverts commit 4b2ac99.
…s-in-configuration-section
…s-in-configuration-section
webapp/packages/core-authentication/src/AuthProvidersResource.ts
Outdated
Show resolved
Hide resolved
…s-in-configuration-section
…s-in-configuration-section
…s-in-configuration-section
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.
please revert all related to setOnShowDetails
please use components for such logic
…s-in-configuration-section
…s-in-configuration-section
No description provided.