Skip to content

Try again to fix CORS error#17

Merged
6xtvo merged 2 commits intoMatrixDevelopment-GH:mainfrom
Lucaslah:main
Dec 17, 2021
Merged

Try again to fix CORS error#17
6xtvo merged 2 commits intoMatrixDevelopment-GH:mainfrom
Lucaslah:main

Conversation

@Lucaslah
Copy link
Copy Markdown
Collaborator

Should fix the error:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://matrixdev.xyz/api/v1/oauth/details. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 17, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/ascendus/matrix-website/4M8tfpYCsjQFAuf8jS7BnbpynfGn
✅ Preview: https://matrix-website-git-fork-lucaslah-main-ascendus.vercel.app

@6xtvo 6xtvo merged commit a4994d8 into MatrixDevelopment-GH:main Dec 17, 2021
@6xtvo
Copy link
Copy Markdown
Member

6xtvo commented Dec 17, 2021

Looks good.

@6xtvo
Copy link
Copy Markdown
Member

6xtvo commented Dec 17, 2021

Don't think anything has changed.

  1. Data is still not being fetched from API
  2. Login doesn't work (username isn't displayed)
    image

@Lucaslah
Copy link
Copy Markdown
Collaborator Author

Don't think anything has changed.

1. Data is still not being fetched from API

2. Login doesn't work (username isn't displayed)
   ![image](https://user-images.githubusercontent.com/72182515/146493582-d3f13f14-2276-4b8e-9652-76dcf0c3a187.png)

The data is being fetched but cors is blocking it

@6xtvo 6xtvo linked an issue Dec 17, 2021 that may be closed by this pull request
@6xtvo
Copy link
Copy Markdown
Member

6xtvo commented Dec 17, 2021

Don't think anything has changed.

1. Data is still not being fetched from API

2. Login doesn't work (username isn't displayed)
   ![image](https://user-images.githubusercontent.com/72182515/146493582-d3f13f14-2276-4b8e-9652-76dcf0c3a187.png)

The data is being fetched but cors is blocking it

That's what I meant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Access to REST api blocked by CORS policy

2 participants