Skip to content

How to add resource identifier to the url #104

@ecthelion77

Description

@ecthelion77

Hello,

is it a way to add a variable to the url that is sent to the oidc provider ?
I successfully use traefik-forward-auth with microsoft ADFS but i'm not able to use authorization from ADFS :

ADFS can be configured with two steps :

  • first step : validate authentication with a callback identifier and authorize connection. This step is ok

url : ?client_id=&redirect_uri=https%3A%2F%2Fservice.domain.tld%2F_oauth&response_type=code&scope=openid+profile+email&state=%3Aoidc%3Ahttps%3A%2F%2Fservice.domain.tld%2F#/

  • second step : allows to authorize (or not) for a specified group, mfa, ...
    for that it's necessary to add a new variable in url :

?client_id=&redirect_uri=https%3A%2F%2Fservice.domain.tld%2F_oauth&response_type=code&scope=openid+profile+email&state=%3Aoidc%3Ahttps%3A%2F%2Fservice.domain.tld%2F#/&resource=

In my case, I would add resource=service.domain.tld in the constructed url

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions