-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
81 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -705,6 +705,15 @@ screen.oauth.confirm.backtoosf=Exit and go back to OSF | |
screen.oauth.error.title=OAuth Error | ||
screen.oauth.error.heading=Authorization failed | ||
screen.oauth.error.exit=Exit | ||
# | ||
# Pac4j Authentication Delegation Error Views | ||
# | ||
screen.pac4j.error.title=SSO Error | ||
screen.pac4j.error.heading=Delegated authentication error | ||
screen.pac4j.error.message=Your request cannot be completed at this time. Either the authentication request was \ | ||
rejected / cancelled, or the authentication provider denied access due to permissions, privacy settings, etc. \ | ||
Please exit login and try again later.</br></br>If the issue persists, please contact <a style="white-space: \ | ||
nowrap" href="mailto:[email protected]">Support</a> for help. | ||
################################################# | ||
# Enf of OSF CAS customized messages.properties # | ||
# ############################################### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<!DOCTYPE html> | ||
<html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorate="~{layoutosf}"> | ||
|
||
<head> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> | ||
|
||
<title th:text="#{screen.pac4j.error.title}">Pac4j Stop Webflow View</title> | ||
<link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag" /> | ||
</head> | ||
|
||
<body class="mdc-typography"> | ||
<div layout:fragment="content" class="d-flex justify-content-center"> | ||
|
||
<div class="d-flex justify-content-center flex-md-row flex-column mdc-card mdc-card-content w-lg-30"> | ||
<section class="login-error-card"> | ||
<section> | ||
<div th:replace="fragments/osfbannerui :: osfBannerUI"> | ||
<a href="fragments/osfbannerui.html"></a> | ||
</div> | ||
</section> | ||
<section class="text-without-mdi text-center text-bold text-large margin-large-vertical title-danger"> | ||
<span th:utext="#{screen.authnerror.tips}"></span> | ||
</section> | ||
<hr class="my-4" /> | ||
<section class="card-message"> | ||
<h2 th:utext="#{screen.pac4j.error.heading}"></h2> | ||
<p th:utext="#{screen.pac4j.error.message}"></p> | ||
</section> | ||
<section id="errorInfo" class="pre-formatted-small word-break-all"> | ||
<pre id="initiatorUrl"></pre> | ||
<pre th:if="${rootCauseException}" th:text="${'Error: ' + rootCauseException.getClass().getSimpleName()}"></pre> | ||
<pre th:if="${rootCauseException}" th:text="${'Message: ' + rootCauseException.getMessage()}"></pre> | ||
<pre th:if="${service}" th:text="${'Service: ' + service}"></pre> | ||
<pre th:utext="${'Timestamp: ' + #dates.formatISO(#dates.createNow())}"></pre> | ||
</section> | ||
<section class="form-button" th:with="loginUrl=@{${@casServerLoginUrl}(casRedirectSource=cas)}"> | ||
<a class="mdc-button mdc-button--raised button-osf-blue" th:href="@{/logout(service=${loginUrl})}"> | ||
<span class="mdc-button__label" th:utext="#{screen.error.page.loginagain}"></span> | ||
</a> | ||
</section> | ||
<hr class="my-4" /> | ||
<section class="text-with-mdi"> | ||
<span><a th:href="@{/logout(service=${osfUrl.logout})}" th:utext="#{screen.authnerror.button.backtoosf}"></a></span> | ||
</section> | ||
</section> | ||
</div> | ||
|
||
<script type="text/javascript"> | ||
disableSignUpButton(); | ||
document.getElementById("initiatorUrl").innerHTML = "Request URL: " + window.location.href; | ||
</script> | ||
|
||
</div> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters