Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross-Origin Request Blocke when open UI #36

Open
asibrahim1985 opened this issue Apr 24, 2020 · 4 comments
Open

Cross-Origin Request Blocke when open UI #36

asibrahim1985 opened this issue Apr 24, 2020 · 4 comments

Comments

@asibrahim1985
Copy link

Hello Guys,

I have followed the steps to install pre-registration UI and i succeeded to open the UI however i receive the below error in bold.
When I open the dev mode of firefox i can see the error of cross origin (i attached screen shoot fir error)

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at ‘https://dev.mosip.io/preregistration/v1/login/config’. (Reason: Credential is not supported if the CORS header ‘Access-Control-Allow-Origin’ is ‘*’)

Une erreur technique s'est produite et l'opération ne peut pa
error_pre_reg_ui
s être terminée. Aucune donnée fournie ne peut être sauvegardée

error_pre_reg_ui

@hosurkrishnan
Copy link
Member

hosurkrishnan commented Apr 29, 2020 via email

@asibrahim1985
Copy link
Author

Hello @hosurkrishnan
Thanks for your update, I solved the issue in different way.
I configured the UI to send the requests my local pre-registration login service ( this spring micro service is implemented to handle the cors issue).
I started the UI using angular command line.
Thanks a lot dear

@hosurkrishnan
Copy link
Member

hosurkrishnan commented Apr 29, 2020 via email

@ramiessef
Copy link

Hello @hosurkrishnan
Thanks for your update, I solved the issue in different way.
I configured the UI to send the requests my local pre-registration login service ( this spring micro service is implemented to handle the cors issue).
I started the UI using angular command line.
Thanks a lot dear

you can give us more information about fixing this issue i have the same error "Cross-Origin Request Blocked"

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

No branches or pull requests

3 participants