diff --git a/setup.py b/setup.py
index a56df08d..70a4f9e3 100755
--- a/setup.py
+++ b/setup.py
@@ -87,7 +87,7 @@ def run_tests(self):
install_requires=[
"requests",
"pycryptodomex",
- "pydantic",
+ "pydantic-settings",
"pyjwkest>=1.3.6",
"mako",
"cryptography",
diff --git a/src/oic/utils/settings.py b/src/oic/utils/settings.py
index c4cda7e2..77ea6a37 100644
--- a/src/oic/utils/settings.py
+++ b/src/oic/utils/settings.py
@@ -9,7 +9,7 @@
In order to configure some objects in PyOIDC, you need a settings object.
If you need to add some settings, make sure that you settings class inherits from the appropriate class in this module.
-The settings make use of `pydantic `_ library.
+The settings make use of `pydantic-settings `_ library.
It is possible to instance them directly or use environment values to fill the settings.
"""
from typing import Optional
@@ -17,7 +17,7 @@
from typing import Union
import requests
-from pydantic import BaseSettings
+from pydantic_settings import BaseSettings
class PyoidcSettings(BaseSettings):