code: public static void putUnauthorizedRedirectUrlIntoFlowScope(final RequestContext context, final URI url) {
          context.getFlowScope().put(PARAMETER_UNAUTHORIZED_REDIRECT_URL, url);
      }
docs: Adds the unauthorized redirect url to the flow scope.
  
  @param context the request context
  @param url     the uri to redirect the flow