
ldsm8 (ldsm8) asked a question.
Login with user who is not assigned to application and try to login that application then it show error message as - User is not assigned to Client application but when user try to login with another user but user can't able to clear the 1st user session programatically by using API Call - Clear User Sessions
Currently we are using Authorize api call to get authorize code and then we are getting access_token and getting logged in user info by access token... in above case as user is not assigned to client application so tht's why it return error code and error description, it doesn't return any user related info and i go thr artical about clear session for user but for that api call i need userid so can anyone help me out to get user info so using okta user id i can clear user session

Hello,
Please open a case with our Support and please send us the script/calls you are using so we can have a look and see what can we do to solve this issue.
Also, while opening the case with Support, please have a look on our https://devforum.okta.com/ to see if anybody else had this issue and if not, please post the same there.
We will not be able to offer a solution without seeing the whole flow/script you are using.
Thank you!