mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-05 12:23:03 +02:00
authenticate: validate origin of signout (#1876)
* authenticate: validate origin of signout - add a debug task to kill envoy - improve various function docs - userinfo: return "error" page if user is logged out without redirect uri set - remove front channel logout. There's little difference between it, and the signout function. Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
This commit is contained in:
parent
9fd58f9b8a
commit
c3e3ed9b50
11 changed files with 174 additions and 182 deletions
|
@ -12,7 +12,13 @@
|
|||
<div class="header clearfix">
|
||||
<div class="heading">
|
||||
<a href="{{.RedirectURL}}" class="logo"></a>
|
||||
<span><a class="button" href="{{.SignOutURL}}">Logout</a></span>
|
||||
<span>
|
||||
<form action="{{.SignOutURL}}" method="post">
|
||||
{{.csrfField}}
|
||||
<input type="hidden" name="pomerium_redirect_uri" value="{{.RedirectURL}}">
|
||||
<input class="button" type="submit" value="Logout"/>
|
||||
</form>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue