<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D50Z00008C3jjsSABOkta Classic EngineIntegrationsAnswered2024-04-30T09:18:25.000Z2015-10-30T23:09:57.000Z2016-07-29T13:32:41.000Z
c# api - AuthClient and updating user profile
I want end user to be able to update a property in his/her profile, and I don't want to have any api tokens (especially with administrative access) in the c# code of the program that uses okta authentication.

When user enters username/password to log into the program, I've tried using AuthClient given an empty string as api token, and a valid subdomain in constructor, and then calling Authenticate(), which worked perfectly. AuthResponse indicates success, and Embedded.User is set. But, Embedded.User.Profile does not seem to show any of the custom profile properties. Also, I could not find any way yet to update anything in the profile just with AuthClient or SessionClient interface.

What am I missing? AuthResponse has some SessionToken set, but from the documentation I could not figure out what to do with it.

Please shed some light on this topic.

This question is closed.
Loading
c# api - AuthClient and updating user profile