diff --git a/gregui/authentication/auth_backends.py b/gregui/authentication/auth_backends.py
index 4c2dfe995c485c4f30a22beb01ca0d8a2519ad24..5240629d54bed79c53507b15f15750602d99923b 100644
--- a/gregui/authentication/auth_backends.py
+++ b/gregui/authentication/auth_backends.py
@@ -240,8 +240,8 @@ class GregOIDCBackend(ValidatingOIDCBackend):
 
             if userinfo["auth_type"] == "feide":
                 extended_userinfo = self.get_extended_userinfo(access_token)
-
-                logger.info(extended_userinfo)
+                if "norEduPersonNIN" in extended_userinfo:
+                    userinfo["userid_nin"] = extended_userinfo["norEduPersonNIN"]
 
             self._get_or_create_greg_user_profile(userinfo, user)
         return user