Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to create https service in GKE

Hi,

I am trying to deploy a react application on GKE. My application uses 'Auth0' to implement authentication and authorization. After deploying the app to GKE, when I browse the IP address, I get error as 'auth0-spa-js must run on secure origin'. I think the reason for this is because auth0 expects requests to come from 'https' for services running on custom IP/domains. Correct me if I am mistaken.

Now the next question is how to run GKE service as https? After googling a bit, I found that creating ingress and adding certificates/domain would solve that. Is this the only way? Do I need to buy a domain for this? Please suggest the right approach.

 

 

0 2 243
2 REPLIES 2

Are you trying to run a production app or is this just for development / testing?

Currently I am trying for app under development. But eventually I would need it for production as well.

Top Labels in this Space