vouch / vouch-proxy

an SSO and OAuth / OIDC login solution for Nginx using the auth_request module
MIT License
2.92k stars 327 forks source link

receive "Required String parameter 'redirect_uri' is not present" from Cognito when YAML is not properly formatted #548

Closed daerlnaxe closed 10 months ago

daerlnaxe commented 10 months ago

Hi,

it's 2am, sorry if it's an easy question, it's the first time i use cognito to connect a web app. My purpose is to protect a jellyfin web app, that have not a good security.

Everything run under docker and behind a NGINX reverse proxy.

I don't know why but i get this error :"Required String parameter 'redirect_uri' is not present"

Thank a lot

bnfinet commented 10 months ago

Sorry you're having trouble.

Please read the README and offer the requested information exactly as described there. WHERE do you see that error? Under what conditions? Without additional context I can't be of much help.

My best advice is to rest on it and then try again later.

daerlnaxe commented 10 months ago

Hi, it's better i still to have problem. Sorry for my message.

It was a problem about yaml config file the last line was not indented and i get this error when i used the url: "Required String parameter 'redirect_uri' is not present"

I have a 403 error now but i will probably find the problem.

And... it's ok. I didnt understand the domains part in yaml, my address was a gmail account and i thought it must just add my own domain.

I used cognito: aws. When it will clear i will probably add some information to make it easy for others, first time i used a think like this.

Thank to the team.

bnfinet commented 10 months ago

No need to apologize, I'm glad you're getting it in shape.

Since there's nothing actionable here I'm going to close this.

Feel free to add additional information to this issue. I'm sure others will appreciate it.

If you do need help please do provide the items described in the README.