Hi, I want to grab the data of one specific Okta user using the python SDK. The documentation specifies I use get_user(user.profile.login) but it returns a NameError saying name ‘user’ is not defined. I think this is an issue with not defining which user I want to grab? Where would I specify which login I want to use? I want to grab a user’s data by searching their login (first.last)
Hi everyone, I solved my own issue. I was using the wrong name for the Okta client (For me it was okta_client not OktaClient) and to search you just enter the user id. So replace "user.profile.login’ with ‘first.last’