Okta callback Issue 4.7.1 for angular static page

we deployed the angular app to aws s3 bucket and hosting the application from s3.when I hit the url it is connecting to okta authorization there issue we are facing to redirect the page
please see the below error.

This XML file does not appear to have any style information associated with it. The document tree is shown below.

Access Denied

Failed to load resource: the server responded with a status of 403 (Forbidden)

please help us.

You need to configure your S3 bucket to serve a static website and route all traffic to index.html. This blog post shows you how to do it.