When you try to use the oauth2 authentication from the GeoServer UI, after authentication you end up with an error message because the redirection URI does not match the one expected by GeoNode.
Reproduction Steps
Setup a default installation, go to the GeoServer home page, click on the GeoNode OAuth button, fill in the form and validate.
An error screen is displayed.
Behavior
The correct behavior would be to be redirected to the GeoServer home page with authenticated account
Additional Information
Any additional information or context that may be helpful in resolving the bug.
Bug Description
When you try to use the oauth2 authentication from the GeoServer UI, after authentication you end up with an error message because the redirection URI does not match the one expected by GeoNode.
Reproduction Steps
Setup a default installation, go to the GeoServer home page, click on the GeoNode OAuth button, fill in the form and validate.
An error screen is displayed.
Behavior
The correct behavior would be to be redirected to the GeoServer home page with authenticated account
Additional Information
Any additional information or context that may be helpful in resolving the bug.