How to get ClientID using UserID (email) for Okta login | iOS

Hi. I have a question.
Is there any request to get the ClietId to which the user is attached by sending an email adress as a request without creating a custom authorization server in iOS native. the web approach has getClientId, is there anything similar for iOS? Thank you

Hello, I don’t believe that an SDK method for this exists, but you can use our API call for List applications assigned to a user:

https://developer.okta.com/docs/reference/api/apps/#list-applications-assigned-to-a-user

You can get the user id via email from another api call:

https://developer.okta.com/docs/reference/api/users/#get-user

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