Thanks for replying!
I pointed to most recent milestone M6d and this time it gives me 500.
Code:
SEVERE: Servlet.service() for servlet spring threw exception
error="redirect_uri_mismatch", error_description="Invalid redirect: https://somehost/redirecttounknown does not match one of the registered values: [host]"
at org.springframework.security.oauth2.provider.endpoint.DefaultRedirectResolver.obtainMatchingRedirect(DefaultRedirectResolver.java:81)
at org.springframework.security.oauth2.provider.endpoint.DefaultRedirectResolver.resolveRedirect(DefaultRedirectResolver.java:38)
at org.springframework.security.oauth2.provider.endpoint.AuthorizationEndpoint.resolveRedirectUri(AuthorizationEndpoint.java:196)