Company logo
  • Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Plans
    • Assessments
    • Payroll
    • Blog
    • Calculator

0

67
Views
Accessing GraphQL after Google authentication

I am trying to expose a webapp on internet using istio and adding authorization step. I have followed steps in this url "https://www.jetstack.io/blog/istio-oidc/"

Difference between my config and this one, is that mine has 3 services to be exposed not just one, one of them is qraphql using apollo server. when accessing the url from the internet page opens, but I receive some errors from graphql :

Access to fetch at '{Google authentication URL}' (redirected from 'https://mysite/graphql') from origin 'https://mysite' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

How can I solve that? or what's the reason behind these error? Note that configuration was working with no error before applying authentication step.

7 months ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post job Plans Our process Sales
Legal
Terms and conditions Privacy policy
© 2023 PeakU Inc. All Rights Reserved.