|
1 | 1 | import logging |
2 | 2 | import os |
3 | 3 | from typing import List, Optional, Tuple, Union |
4 | | -from urllib.parse import urljoin, urlsplit |
5 | 4 |
|
6 | 5 | import httpx |
7 | 6 | from pydantic import BaseModel, HttpUrl, ValidationError |
@@ -467,25 +466,9 @@ def __init__( |
467 | 466 | The endpoint paths are combined with the authorization_provider URL using |
468 | 467 | urljoin, extracting only the path component from each endpoint parameter. |
469 | 468 | """ |
470 | | - self._node_access = str( |
471 | | - urljoin( |
472 | | - str(authorization_provider), |
473 | | - urlsplit(node_access).path, |
474 | | - ) |
475 | | - ) |
476 | | - self._filter_nodes = str( |
477 | | - urljoin( |
478 | | - str(authorization_provider), |
479 | | - urlsplit(filter_nodes).path, |
480 | | - ) |
481 | | - ) |
482 | | - self._scopes_access = str( |
483 | | - urljoin( |
484 | | - str(authorization_provider), |
485 | | - urlsplit(scopes_access).path, |
486 | | - ) |
487 | | - ) |
488 | | - |
| 469 | + self._node_access = str(authorization_provider) + node_access |
| 470 | + self._filter_nodes = str(authorization_provider) + filter_nodes |
| 471 | + self._scopes_access = str(authorization_provider) + scopes_access |
489 | 472 | self._audience = audience |
490 | 473 | self._provider = provider |
491 | 474 |
|
|
0 commit comments