TF-571 Use response from webfinger to get OIDC from authority
This commit is contained in:
committed by
Dat H. Pham
parent
ea598c20b8
commit
a48cd35d4f
@@ -16,14 +16,6 @@ class OIDCConfiguration with EquatableMixin {
|
||||
required this.scopes
|
||||
});
|
||||
|
||||
factory OIDCConfiguration.initial() {
|
||||
return OIDCConfiguration(
|
||||
authority: 'https://auth.upn.integration-open-paas.org/auth/realms/mobile',
|
||||
clientId: 'teammail-mobile',
|
||||
scopes: ['openid', 'offline_access']
|
||||
);
|
||||
}
|
||||
|
||||
String get discoveryUrl {
|
||||
if (authority.endsWith('/')) {
|
||||
return authority + wellKnownOpenId;
|
||||
|
||||
Reference in New Issue
Block a user