diff --git a/src/pypnusershub/auth/providers/cas_inpn_provider.py b/src/pypnusershub/auth/providers/cas_inpn_provider.py
index 45b49a4..3e0ad28 100644
--- a/src/pypnusershub/auth/providers/cas_inpn_provider.py
+++ b/src/pypnusershub/auth/providers/cas_inpn_provider.py
@@ -21,7 +21,7 @@ class CasAuthentificationError(GeonatureApiError):
class AuthenficationCASINPN(Authentication):
name = "CAS_INPN_PROVIDER"
label = "INPN"
- is_external = False
+ is_external = True
logo = ""
@property
diff --git a/src/pypnusershub/auth/providers/github_provider.py b/src/pypnusershub/auth/providers/github_provider.py
index d719d33..6acaaf8 100644
--- a/src/pypnusershub/auth/providers/github_provider.py
+++ b/src/pypnusershub/auth/providers/github_provider.py
@@ -23,7 +23,7 @@
class GitHubAuthProvider(Authentication):
id_provider = "github"
label = "GitHub"
- is_external = False
+ is_external = True
login_url = "http://127.0.0.1:8000/auth/login/github"
logout_url = ""
logo = ''
diff --git a/src/pypnusershub/auth/providers/openid_provider.py b/src/pypnusershub/auth/providers/openid_provider.py
index 8996399..946e348 100644
--- a/src/pypnusershub/auth/providers/openid_provider.py
+++ b/src/pypnusershub/auth/providers/openid_provider.py
@@ -19,7 +19,7 @@ class OpenIDProvider(Authentication):
name = "OPENID_PROVIDER_CONFIG"
logo = ''
- is_external = False
+ is_external = True
"""
Name of the fields in the OpenID token that contains the groups info
"""
diff --git a/src/pypnusershub/auth/providers/usershub_provider.py b/src/pypnusershub/auth/providers/usershub_provider.py
index 9a280fe..8064953 100644
--- a/src/pypnusershub/auth/providers/usershub_provider.py
+++ b/src/pypnusershub/auth/providers/usershub_provider.py
@@ -16,6 +16,7 @@ class ExternalUsersHubAuthProvider(Authentication):
name = "EXTERNAL_USERSHUB_PROVIDER_CONFIG"
logo = ''
+ is_external = False
def authenticate(self):
params = request.json