-
Notifications
You must be signed in to change notification settings - Fork 117
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
Comments
Solution to the CORS issue is here . Run the chrome browser using the
following option command line
*chrome.exe --user-data-dir="**C://Chrome** dev session"
--disable-web-security*
…On Sat, Apr 25, 2020 at 4:11 AM asibrahim1985 ***@***.***> wrote:
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 [image:
error_pre_reg_ui]
<https://user-images.githubusercontent.com/32634830/80262339-69195500-868d-11ea-961b-2e309917d5db.png>
s être terminée. Aucune donnée fournie ne peut être sauvegardée*
[image: error_pre_reg_ui]
<https://user-images.githubusercontent.com/32634830/80262327-60c11a00-868d-11ea-8e43-48ca1e7e0c8f.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#36>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJG2UBGR7E4SIQQRRRZHIG3ROIIS3ANCNFSM4MQOXA6Q>
.
--
Best,
Krishnan
Consultant, MOSIP (https://mosip.io)
+91-9343909050
https://github.com/mosip
MOSIP announcement group - https://groups.io/g/mosip-announce
MOSIP dev group - https://groups.io/g/mosip-dev
MOSIP Community channel - join via Gitter
<https://gitter.im/mosip-community/community?utm_source=share-link&utm_medium=link&utm_campaign=share-link>
|
Hello @hosurkrishnan |
That is even a better approach my friend.
…On Wed, Apr 29, 2020 at 5:47 PM asibrahim1985 ***@***.***> wrote:
Hello @hosurkrishnan <https://github.com/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 are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJG2UBCSIPYCJHKQCVA5W63RPALHFANCNFSM4MQOXA6Q>
.
--
Best,
Krishnan
Consultant, MOSIP (https://mosip.io)
+91-9343909050
https://github.com/mosip
MOSIP announcement group - https://groups.io/g/mosip-announce
MOSIP dev group - https://groups.io/g/mosip-dev
MOSIP Community channel - join via Gitter
<https://gitter.im/mosip-community/community?utm_source=share-link&utm_medium=link&utm_campaign=share-link>
|
you can give us more information about fixing this issue i have the same error "Cross-Origin Request Blocked" |
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
s être terminée. Aucune donnée fournie ne peut être sauvegardée
The text was updated successfully, but these errors were encountered: