Skip to content
This repository was archived by the owner on Feb 11, 2023. It is now read-only.
This repository was archived by the owner on Feb 11, 2023. It is now read-only.

stuck in redirect loop  #81

@ashtonian

Description

@ashtonian

Hi - love the plugin. I'm stuck in a redirect loop and I'm not sure why? I wonder if its because the lambda is attached to the http->https redirect behavior? not sure what it should be otherwise.

here is the config json:

{
    "AUTH_REQUEST": {
        "client_id": "id",
        "redirect_uri": "https://mydomain/oauth2/callback",
        "scope": "read:org user:email"
    },
    "TOKEN_REQUEST": {
        "client_id": "id",
        "client_secret": "secret",
        "redirect_uri": "https://mydomain/oauth2/callback"
    },
    "DISTRIBUTION": "distro",
    "AUTHN": "GITHUB",
    "PRIVATE_KEY": "",
    "PUBLIC_KEY": "",
    "SESSION_DURATION": 3600,
    "CALLBACK_PATH": "/oauth2/callback",
    "ORGANIZATION": "myorg",
    "AUTHORIZATION_ENDPOINT": "https://github.com/login/oauth/authorize",
    "TOKEN_ENDPOINT": "https://github.com/login/oauth/access_token"
}

CF Origin:

image

CF http -> https Behavior:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions