Showing the message that User is not assigned to the client application after OKTA login

I have integrated the OKTA login in my web application. But I was not able show my landing page after completing OKTA authentication. It is returning a message that “User is not assigned to the client application”. Any help would be appreciable!!

Thank you.

Are you getting this error returned to your application via the redirect_uri when making an /authorize request? Are you trying to catch and handle this error, or are you looking to resolve it?

Yes, getting this error via redirect_uri when making an authorize request. I just want to know the reason for this error message

Is the reason because the user is not assigned to the app in Okta?