Skip to content

Oauth callback URL inserting port #329

@timothystewart6

Description

@timothystewart6

I am doing ssl termination in front of api-umbrella. I have configured oAuth with both GitHub and Google and it seems to be appending the http port to the callback:

https://api.example.com:80/admins/auth/google_oauth2/callback, does not match the ones authorized for the OAuth client.

I can access the site fine and I am passing host headers however it seems like api-umbrella is not honoring that the original request came in over https however it is http after the traffic passes my firewall.

As a test, I set the http_port: 8080 in /etc/api-umbrella/api-umbrella.yml and I get:

The redirect URI in the request, https://api.example.com:8080/admins/auth/google_oauth2/callback, does not match the ones authorized for the OAuth client.

It does this for both Google and GitHub. I am using your docker container.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions