FusionAuth / fusionauth-issues

FusionAuth issue submission project
https://fusionauth.io
90 stars 12 forks source link

OAuth error condition does not append to redirect correctly. #2768

Closed jobannon closed 4 weeks ago

jobannon commented 4 weeks ago

Problem

When I have an OAuth Error, I am returned to my redirect and the OAuth error parameters are not appended correctly IE -

https://somethinghost/auth-callback.php?status=sso_completeerror=invalid_request&error_reason=invalid_origin&error_description=Invalid+origin+uri+https%3A%2F%2Faccounts.google.com

Solution

Append correctly (add & to sso_completeerror=invalid_request)

https://somethinghost/auth-callback.php?status=sso_complete&error=invalid_request&error_reason=invalid_origin&error_description=Invalid+origin+uri+https%3A%2F%2Faccounts.google.com

Alternatives/workarounds

This may be a dev time issue as OAuth errors should not typically occur in production.

Additional context

Customer report https://fusionauth.zendesk.com/agent/tickets/74716

Community guidelines

All issues filed in this repository must abide by the FusionAuth community guidelines.

How to vote

Please give us a thumbs up or thumbs down as a reaction to help us prioritize this feature. Feel free to comment if you have a particular need or comment on how this feature should work.

jobannon commented 4 weeks ago

dup https://github.com/FusionAuth/fusionauth-issues/issues/2767