TF-624 Remove endpoint oidc unnecessary
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
import 'package:core/core.dart';
|
||||
import 'package:tmail_ui_user/features/login/data/network/endpoint.dart';
|
||||
import 'package:core/data/model/query/query_parameter.dart';
|
||||
import 'package:core/data/network/config/service_path.dart';
|
||||
|
||||
extension ServicePathExtension on ServicePath {
|
||||
String generateEndpointPath() {
|
||||
@@ -8,7 +8,7 @@ extension ServicePathExtension on ServicePath {
|
||||
}
|
||||
|
||||
ServicePath generateOIDCPath(Uri baseUrl) {
|
||||
return ServicePath(baseUrl.origin + Endpoint.oidc + path);
|
||||
return ServicePath(baseUrl.toString() + path);
|
||||
}
|
||||
|
||||
ServicePath withQueryParameters(List<QueryParameter> queryParameters) {
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
import 'package:core/data/network/config/service_path.dart';
|
||||
|
||||
class Endpoint {
|
||||
static const String oidc = '/oidc';
|
||||
|
||||
static final ServicePath webFinger = ServicePath('/.well-known/webfinger');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user