1
0
forked from baron/baron-sso

Implement tenant import and RP auto login policies

This commit is contained in:
2026-04-30 15:45:34 +09:00
parent 24807eab0f
commit f7e4d43b16
76 changed files with 5307 additions and 441 deletions

View File

@@ -1247,6 +1247,7 @@ class _DashboardScreenState extends ConsumerState<DashboardScreen> {
onRevoke: isRevoked ? null : () => _onRevokeLink(rp.id, name),
url: rp.url,
launchUrl: resolveLinkedRpLaunchUrl(rp),
autoLoginSupported: rp.autoLoginSupported,
lastAuthDateTime: rp.lastAuthenticatedAt,
),
);
@@ -1393,6 +1394,16 @@ class _DashboardScreenState extends ConsumerState<DashboardScreen> {
color: _ink,
),
),
if (item.autoLoginSupported) ...[
const SizedBox(height: 8),
Text(
tr(
'msg.userfront.dashboard.auto_login_supported',
fallback: '연동앱 클릭 시 별도 로그인 없이 로그인할 수 있습니다.',
),
style: TextStyle(fontSize: 12, color: Colors.green[700]),
),
],
const SizedBox(height: 14),
Row(
children: [
@@ -2421,6 +2432,7 @@ class _ActivityItem {
final String status;
final String? url;
final String? launchUrl;
final bool autoLoginSupported;
final List<String> scopes;
final bool isRevoked;
final VoidCallback? onRevoke;
@@ -2435,6 +2447,7 @@ class _ActivityItem {
required this.scopes,
this.url,
this.launchUrl,
this.autoLoginSupported = false,
this.isRevoked = false,
this.onRevoke,
this.lastAuthDateTime,