WEB-487: Add OAuth 2.1 PKCE flow (#2864)
This commit is contained in:
@@ -102,6 +102,10 @@ export class LoginComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
displayTenantSelector(): boolean {
|
||||
// Hide tenant selector when OAuth2 is enabled (tenant is determined by OAuth server)
|
||||
if (environment.oauth.enabled) {
|
||||
return false;
|
||||
}
|
||||
return environment.displayTenantSelector === 'false' ? false : true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user