Skip to content

Modifiable related links protocol #521

Closed
@joshhubers

Description

@joshhubers

Description

A bit of an issue I've ran into is that when related links are created for related models it uses the protocol from the default configuration. This is problematic as I'm running an application behind a load balancer/proxy with SSL termination. So while the server itself is only http, the related links need to be https for consuming applications to fetch related resources over https.

I know links can be disabled, but that's not exactly a great solution for when links are needed for certain consumers and frameworks.

I'd be happy to look into this if I get time.
...

Environment

  • JsonApiDotNetCore Version: 3.1.0
  • Other Relevant Package Versions:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions