This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve styling and wording of SSO UIA templates (#9286)
fixes #9171
- Loading branch information
Showing
6 changed files
with
81 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Improve the user experience of setting up an account via single-sign on. |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,28 @@ | ||
<html> | ||
<head> | ||
<title>Authentication</title> | ||
</head> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Authentication</title> | ||
<meta name="viewport" content="width=device-width, user-scalable=no"> | ||
<style type="text/css"> | ||
{% include "sso.css" without context %} | ||
</style> | ||
</head> | ||
<body> | ||
<div> | ||
<header> | ||
<h1>Confirm it's you to continue</h1> | ||
<p> | ||
A client is trying to {{ description | e }}. To confirm this action, | ||
<a href="{{ redirect_url | e }}">re-authenticate with single sign-on</a>. | ||
If you did not expect this, your account may be compromised! | ||
A client is trying to {{ description | e }}. To confirm this action | ||
re-authorize your account with single sign-on. | ||
</p> | ||
</div> | ||
<p><strong> | ||
If you did not expect this, your account may be compromised. | ||
</strong></p> | ||
</header> | ||
<main> | ||
<a href="{{ redirect_url | e }}" class="primary-button"/> | ||
Continue with {{ idp.idp_name | e }} | ||
</a> | ||
</main> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,27 @@ | ||
<html> | ||
<head> | ||
<title>Authentication Successful</title> | ||
<script> | ||
if (window.onAuthDone) { | ||
window.onAuthDone(); | ||
} else if (window.opener && window.opener.postMessage) { | ||
window.opener.postMessage("authDone", "*"); | ||
} | ||
</script> | ||
</head> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Authentication successful</title> | ||
<meta name="viewport" content="width=device-width, user-scalable=no"> | ||
<style type="text/css"> | ||
{% include "sso.css" without context %} | ||
</style> | ||
<script> | ||
if (window.onAuthDone) { | ||
window.onAuthDone(); | ||
} else if (window.opener && window.opener.postMessage) { | ||
window.opener.postMessage("authDone", "*"); | ||
} | ||
</script> | ||
</head> | ||
<body> | ||
<div> | ||
<p>Thank you</p> | ||
<p>You may now close this window and return to the application</p> | ||
</div> | ||
<header> | ||
<h1>Thank you</h1> | ||
<p> | ||
Now we know it’s you, you can close this window and return to the | ||
application. | ||
</p> | ||
</header> | ||
</body> | ||
</html> |