Skip to content

How to restrict the upstream APIs to a particular url  #1491

Closed

Description

@gkumar1234

React App calls our API and need to make sure we restrict the upstream APIs only to this React app only. Note that both the React app and the API are on the same domain with different urls.

Was looking for options to restrict calls using Origin or other request headers but seems it can be spoofed.

Tried UpstreamHost but it did not help.

Not sure if this is possible. Appreciate help.

Activity

  1. added
    question
    on Jan 6, 2024
  2. locked and limited conversation to collaborators on Jan 6, 2024
  3. converted this issue into a discussion #1887 on Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    question

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions