-
Notifications
You must be signed in to change notification settings - Fork 557
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the googleapps IDP provider to work with changes to Google log…
…in page while maintaining gaialogin compatibility
- Loading branch information
1 parent
07a7eb0
commit a157c1e
Showing
3 changed files
with
161 additions
and
11 deletions.
There are no files selected for viewing
93 changes: 93 additions & 0 deletions
93
pkg/provider/googleapps/example/form-password-challengeid-3.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 |
---|---|---|
@@ -0,0 +1,93 @@ | ||
<!doctype html> | ||
<html lang="en-US" dir="ltr"> | ||
<head> | ||
<base href="https://accounts.google.com/v3/signin/"> | ||
<link ref="preconnect" href="//www.gstatic.com"> | ||
<meta name="referrer" content="origin"> | ||
<link rel="canonical" href="https://accounts.googele.com/v3/signin/challenge/pwd"> | ||
<meta name="chrome" content="nointentdetection"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta name="description" content=""> | ||
<title>Sign in - Google Accounts</title> | ||
</head> | ||
<body> | ||
<div class="BDEI9 LZgQXe"> | ||
<div class="Ha17qf" data-auto-init="Card"> | ||
<div class="Or16q"> | ||
<div data-view-id="b5STy"> | ||
<div class="gEc4r"> | ||
<img src="//ssl.gstatic.com/images/branding/googlelogo/2x/googlelogo_color_74x24dp.png" class="TrZEUc" alt="Google" width="74" height="24"> | ||
</div> | ||
<div class="EQIoSc" jsname="bN97Pc" data-use-configureable-escape-action="true"> | ||
<div jsname="paFcre"> | ||
<div class="aMfydd" jsname="tJHJj"> | ||
<h1 class="Tn0LBd" jsname="r4nke">Welcome</h1> | ||
<p class="a2CQh" jsname="VdSJob"></p> | ||
<div class="C7uRJc"> | ||
<a href="/v3/signin/identifier?continue=https://accounts.google.com/o/saml2/initsso?idpid%3DXXXXXX%26spid%3DYYYYYY%26forceauthn%3Dfalse%26hl%3Den%26loc%3DUS&dsh=foo:bar&faa=1&flowEntry=ServiceLogin&flowName=WebLiteSignIn&followup=https://accounts.google.com/o/saml2/initsso?idpid%3DXXXXXX%26spid%3DYYYYYY%26forceauthn%3Dfalse%26hl%3Den%26loc%3DUS&hl=en_US&ifkv=ABCDEFGHIJKLMNOPQRSTUVWXYZ?hl%3Den" class="HDuqac EI77qf TrZEUc cd29Sd iiFyne" tabindex="0" aria-label="test-id3@example.com selected. Switch account" jsname="af8ijd"> | ||
<div class="BOs5fd"> | ||
<div jsname="bQIQze" class="wJxLsd" data-profile-identifier translate="no">test-id3@example.com</div> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
<form action="/v3/signin/challenge/pwd?TL=ABCDEFGHIJKLMNOPQRSTUVWXYZ&cid=2&continue=https://accounts.google.com/o/saml2/initsso?idpid%3DXXXXXX%26spid%3DYYYYYY%26forceauthn%3Dfalse%26hl%3Den%26loc%3DUS&dsh=foo:bar&faa=1&flowEntry=ServiceLogin&flowName=WebLiteSignIn&followup=https://accounts.google.com/o/saml2/initsso?idpid%3DXXXXXX%26spid%3DYYYYYY%26forceauthn%3Dfalse%26hl%3Den%26loc%3DUS&hl=en_US&ifkv=ABCDEFGHIJKLMNOPQRSTUVWXYZ?hl%3Den" method="POST" novalidate> | ||
<div class="iEhbme" jsname="rEuO1b"> | ||
<section class="aN1Vld fegW5d rNe0id eLNT1d S7S4N" aria-hidden="true" jsname="INM6z" aria-live="assertive" aria-atomic="true"> | ||
<header class="wSQNd" jsname="tJHJj"> | ||
<h2 class="cySqRb TrZEUc"> | ||
<span class="zlrrr" aria-hidden="true" jsname="Bz112c"><svg aria-hidden="true" class="hZUije GxLRef" fill="currentColor" focusable="false" width="20px" height="20px" viewBox="0 0 24 24" xmlns="https://www.w3.org/2000/svg"><path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"></path></svg> | ||
</span> | ||
<span jsname="Ud7fr">Too many failed attempts</span> | ||
</h2> | ||
<div jsname="HSrbLb" aria-hidden="true"></div> | ||
</header> | ||
</section> | ||
<section class="aN1Vld " jsname="dZbRZb"><div class="yOnVIb" jsname="MZArnb"> | ||
<span jsname="xdJtEf"> | ||
<input type="hidden" name="bgresponse" value="js_disabled" id="bgresponse" style="display:none"> | ||
</span> | ||
<input type="text" name="identifier" class="hJIRO" tabindex="-1" aria-hidden="true" spellcheck="false" value="test-id3@example.com" jsname="KKx9x" autocomplete="off" id="hiddenEmail"> | ||
<div class="Fu5aXd" jsname="vZSTIf"> | ||
<div class="Flfooc"> | ||
<div class="TRuRhd YKooDc"> | ||
<div class="fjpXlc"> | ||
<label class="dXXNOd"> | ||
<input class="xyezD" jsname="Ufn6O" type="password" name="Passwd" id="password" autofocus autocapitalize="off" autocomplete="current-password" dir="ltr"/> | ||
<div class="nWPx2e"> | ||
<div class="YhhY8"></div> | ||
<div class="CCQ94b">Enter your password</div> | ||
<div class="tNASEf"></div> | ||
</div> | ||
</label> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="F3wxlc" jsname="h9d3hd"></div> | ||
<div class="NHVGlc" jsname="JIbuQc"></div> | ||
</div> | ||
<input type="hidden" name="TrustDevice" value="true"> | ||
<input type="hidden" name="historicalPassword" value="false"> | ||
</div> | ||
</section> | ||
<input type="hidden" name="" value="test-id3@example.com" jsname="m2Owvb" id="identifierId"> | ||
</div> | ||
<div class="i2knIc" jsname="DH6Rkf"> | ||
<div class="wg0fFb" jsname="DhK0U"> | ||
<div class="RhTxBf" jsname="k77Iif"> | ||
<button name="action" class="JnOM6e TrZEUc rDisVe" value="1" jsname="Njthtb" id="passwordNext">Next</button> | ||
</div> | ||
<div class="tmMcIf" jsname="QkNstf"> | ||
<button name="action" class="JnOM6e TrZEUc KXbQ4b" value="3" jsname="gVmDzc">Try another way</button> | ||
</div> | ||
</div> | ||
</div> | ||
<input type="hidden" name="at" value="ALt4Ve3-7VDKsElQQfRT91gYiMG8:1717681198454"> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</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