Synchronize phone number from okta to nextcloud

Hello okta dev community,

I have already created a support ticket at https://support.okta.com/ but they referred me here for help.

I am looking for a way to synchronize the information such as phone number, city, address, etc. that are entered in Okta into the Nextcloud, so that they are displayed there in the profile. Okta is used as OpenID Connect Provider, on the Nextcloud Side we use the OpenID Connect Login App. I’ve already tried to extend the scope by phone and to enter the mapping in the Nextcloud config file, but unfortunately so far without success, also I could not find a suitable solution here.

I hope you can help me!

Using the phone scope should return phone_number claim (which should come from the Primary Phone in their profile), but you may need to check within the Userinfo response to find it if your integration requests both an ID and Access token in the same flow (e.g. Authorization Code flow) as most user claims will not be included within the ID Token payload if an Access Token is also being returned (see this article for more information)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.