forked from baron/baron-sso
Consent 화면 앱 이름 누락 수정
This commit is contained in:
@@ -233,10 +233,13 @@ class _ConsentScreenState extends State<ConsentScreen> {
|
||||
}
|
||||
|
||||
Widget _buildConsentCard(BuildContext context) {
|
||||
final clientName =
|
||||
_consentInfo?['client']?['client_name'] ??
|
||||
tr('msg.userfront.consent.client_unknown');
|
||||
final clientId = _consentInfo?['client']?['client_id'] ?? '-';
|
||||
final clientRawName = _consentInfo?['client']?['client_name'] as String?;
|
||||
final clientId = _consentInfo?['client']?['client_id'] as String? ?? '-';
|
||||
final clientName = (clientRawName != null && clientRawName.isNotEmpty)
|
||||
? clientRawName
|
||||
: (clientId != '-'
|
||||
? clientId
|
||||
: tr('msg.userfront.consent.client_unknown'));
|
||||
final clientLogo = _consentInfo?['client']?['logo_uri'];
|
||||
final requestedScopes =
|
||||
(_consentInfo?['requested_scope'] as List<dynamic>?)?.cast<String>() ??
|
||||
|
||||
Reference in New Issue
Block a user