Issues with React application--Auth Props are empty after authentication

We are integrating Okta with our React application.
We have installed the npm install --save @okta/okta-react

Authentication part is working fine but facing following issues

  1. Unable to receive any data from OKTA such as user data , authentication data
    (Not able to invoke the withAuth properties)
  2. SecuredRoute pages are not working where as normal routing pages are working fine.
  3. implicit call back in the redirecturi is giving error.

I have uploaded the code that I used. Please respond asap


router setting