diff --git a/ereuse_devicehub/templates/ereuse_devicehub/user_profile.html b/ereuse_devicehub/templates/ereuse_devicehub/user_profile.html
index 462fc6ec..2699458c 100644
--- a/ereuse_devicehub/templates/ereuse_devicehub/user_profile.html
+++ b/ereuse_devicehub/templates/ereuse_devicehub/user_profile.html
@@ -39,6 +39,11 @@
+ {% if oidc %}
+
+ OpenID Connect
+
+ {% endif %}
diff --git a/ereuse_devicehub/views.py b/ereuse_devicehub/views.py
index 8f9a5e1d..90bcdd8b 100644
--- a/ereuse_devicehub/views.py
+++ b/ereuse_devicehub/views.py
@@ -104,11 +104,13 @@ class UserProfileView(GenericMixin):
if g.user.sanitization_entity:
sanitization = g.user.sanitization_entity
sanitization_form = SanitizationEntityForm(obj=sanitization)
+ oidc = 'oidc' in app.blueprints.keys()
self.context.update(
{
'current_user': current_user,
'password_form': PasswordForm(),
'sanitization_form': sanitization_form,
+ 'oidc': oidc,
}
)