commit
e02afbe9f8
|
@ -121,8 +121,8 @@ public class AuthorizationEndpoint {
|
||||||
String redirectUri = originalParams.getFirst("resolved_redirect_uri");
|
String redirectUri = originalParams.getFirst("resolved_redirect_uri");
|
||||||
StringBuilder sb = new StringBuilder(redirectUri);
|
StringBuilder sb = new StringBuilder(redirectUri);
|
||||||
|
|
||||||
String approbationStatus = params.getFirst("approbation_status");
|
String approvalStatus = params.getFirst("approval_status");
|
||||||
if ("NO".equals(approbationStatus)) {
|
if ("NO".equals(approvalStatus)) {
|
||||||
URI location = UriBuilder.fromUri(sb.toString())
|
URI location = UriBuilder.fromUri(sb.toString())
|
||||||
.queryParam("error", "User doesn't approved the request.")
|
.queryParam("error", "User doesn't approved the request.")
|
||||||
.queryParam("error_description", "User doesn't approved the request.")
|
.queryParam("error_description", "User doesn't approved the request.")
|
||||||
|
|
|
@ -41,8 +41,8 @@
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
<input type="submit" name="approbation_status" value="YES"/>
|
<input type="submit" name="approval_status" value="YES"/>
|
||||||
<input type="submit" name="approbation_status" value="NO"/>
|
<input type="submit" name="approval_status" value="NO"/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
3
pom.xml
3
pom.xml
|
@ -561,7 +561,7 @@
|
||||||
<module>tensorflow-java</module>
|
<module>tensorflow-java</module>
|
||||||
<module>spring-boot-flowable</module>
|
<module>spring-boot-flowable</module>
|
||||||
<module>spring-security-kerberos</module>
|
<module>spring-security-kerberos</module>
|
||||||
|
<module>oauth2-framework-impl</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
</profile>
|
</profile>
|
||||||
|
@ -1244,6 +1244,7 @@
|
||||||
<module>rsocket</module>
|
<module>rsocket</module>
|
||||||
<module>rxjava</module>
|
<module>rxjava</module>
|
||||||
<module>rxjava-2</module>
|
<module>rxjava-2</module>
|
||||||
|
<module>oauth2-framework-impl</module>
|
||||||
|
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue