-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tidy up and document SameSite cookie workaround
- Loading branch information
1 parent
88704d6
commit 0544347
Showing
4 changed files
with
41 additions
and
23 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.
16 changes: 16 additions & 0 deletions
16
templates/Bigfork/SilverStripeOAuth/Client/OAuthRedirect.ss
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,16 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>OAuth Redirect</title> | ||
<meta http-equiv="refresh" content="0;url={$URL.RAW}?code={$Code}&state={$State}" /> | ||
</head> | ||
<body> | ||
<h1>You are being redirected, please wait</h1> | ||
<p>If you are not automatically redirected, please <a href="{$URL.RAW}?code={$Code}&state={$State}">click here</a>.</p> | ||
<script type="text/javascript"> | ||
window.setTimeout(function() { | ||
window.location.href = "{$URL.RAW}?code={$Code}&state={$State}"; | ||
}); | ||
</script> | ||
</body> | ||
</html> |