ajmyyra / ambassador-auth-oidc

OpenID Connect AuthService for Ambassador API Gateway
MIT License
88 stars 35 forks source link

SELF_URL adds additional path #20

Closed jay-bhambhani closed 5 years ago

jay-bhambhani commented 5 years ago

Hi there! This is likely an extremely stupid question. But I wanted to ask why you add the following extra paths to the SELF_URL variable? I assumed that this variable was the URL we would want to end up redirecting to, and wanted to understand why this was needed?

redirURL = redirURL + "/login/oidc"

Thanks for your help! Jay

jay-bhambhani commented 5 years ago

walked it through with some others, totally makes sense. Thanks!