Skip to content

HTTP URLs in Production Instead of HTTPS on Discovery Endpoint #239

Description

@aaronjae22

HTTPS is working as expected on Staging but not on Production because we deployed our service on a custom domain which requires additional GCloud infrastructure.

Staging URL: activitypub-testbed-stg-run-737003321709.us-central1.run.app (Cloud Run default domain)

When accessing the Staging Discovery Endpoint we get HTTPS.
curl -sS -H "Accept: application/json" https://activitypub-testbed-stg-run-737003321709.us-central1.run.app/.well-known/oauth-authorization-server | jq

Image

Production URL: ap-testbed.dtinit.org (custom domain)

But in Production it returns HTTP.

curl -sS -H "Accept: application/json" https://ap-testbed.dtinit.org/.well-known/oauth-authorization-server | jq

Image

We need to modify GCloud Load Balancer. A temporary patch was made through #244.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions