
opea0 (opea0) asked a question.
Hi Team,
I am working with okta API in react JS, I have seen there is direct api available from react which will perform operations on react. I wanted to get user current status in React. I tried with oktaAuth.getUser but It is not giving response. Requesting you to provide sample on this.

Hi @opea0 (opea0) , Thank you for reaching out to the Okta Community!
I've checked the resources available to me and I have not found any indication that this would be possible. You may be able to get profile attributes but the STATUS is not considered a profile attribute in Okta so that might be cause.
That being said, my advice would be to reach out to the dedicated Developer Forum devforum.okta.com to take advantage of their expertise.
While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products and features.
Hope my answer helps!
--------------------------------
Now available: Product release highlights, your top questions, and other things you may have missed in this month's newsletter