%-- /** * Copyright (c) gCube Framework. All rights reserved. * * @Author Massimiliano Assante, CNR-ISTI Italy */ --%> <%@page import="com.liferay.portal.kernel.language.LanguageUtil"%> <% if (redirect.startsWith(siteUrl + GCubePortalConstants.AUTHORIZATION_FRIENDLY_URL)) { %>
We're sorry your application is not authorised by D4Science
The client_id does not exist or something occurred in retrieving it from the Information System: (<%=clientId%>)
<%} String scope = queryMap.get(GET_SCOPE_PARAMETER); if (clientId != null && clientId.compareTo("") != 0) { RequestingApp app = AuthUtil.getAuthorisedApplicationInfoFromIs(clientId); if (app != null) { hideCreateAccountAndForgotPassword = true; if (app.getLogoURL() != null && !app.getLogoURL().isEmpty()) { %>
<% } %>
<%=app.getApplicationId()%>
would like to access some of your D4Science info:
Name, photo,
email and current roles
<%
if (scope != null && scope.compareTo("") != 0) {
%>
on context: <%=scope%>
<%
}
%>
By signing in with your <%=context.getGatewayName(request)%> credentials you are approving this application's request to access your member data and interact with D4Science on your behalf.
We're sorry your application is not authorised by D4Science
The client_id does not exist or something occurred in retrieving it from the Information System: (<%=clientId%>)
<% clientNotAuthorised = true; System.out.println( "The client_id does not exist or something occurred in retrieving it from IS: " + clientId); } } } } %>