Support configuration for OIDC scopes

(cherry picked from commit 8dc7d6d025deaf0e36729dbcade3fd9bcaf91b8c)
This commit is contained in:
Dat PHAM HOANG
2023-06-15 15:08:50 +07:00
committed by Dat H. Pham
parent 0c6d0eded0
commit b10cc840ce
5 changed files with 22 additions and 4 deletions
@@ -3,7 +3,7 @@ import 'package:tmail_ui_user/main/utils/app_config.dart';
class OIDCConstant {
static String get mobileOidcClientId => 'teammail-mobile';
static List<String> get oidcScope => ['openid', 'offline_access'];
static List<String> get oidcScope => ['openid', 'email'];
static const keyAuthorityOidc = 'KEY_AUTHORITY_OIDC';
static const authResponseKey = "auth_info";