Skip to content

oidc: remove POST /oidc/callback endpoint #41

Description

@mas-who

Issue description

In order to forward a idp callback request to the correct member in the cluster, we have to use the (client.Client).Query method from microcluster. This method does not currently support passing in a http.Request object, which means to forward the necessary cookies from the idp request we need to setup a POST /oidc/callback endpoint and add the cookies to the forwarded request payload.

Furthermore, the (client.Client).Query also does not return a full response. This imposes the same restrictions where we have to send cookies in the response payload instead of extract them from the response header.

There is an upstream microcluster issue open for this.

Metadata

Metadata

Assignees

No one assigned

    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