Skip to content

Commit

Permalink
support for PostLogoutRedirectUris
Browse files Browse the repository at this point in the history
  • Loading branch information
josxha committed Dec 29, 2023
1 parent cf1d298 commit 49fdb2d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
10 changes: 10 additions & 0 deletions OryAdmin/Components/Elements/Oauth2ClientFields.razor
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,16 @@
</div>
</label>
</div>
<div class="field">
<label class="label">
Post logout redirect URIs (one entry per line)
<div class="control">
<textarea class="textarea" rows="3" @onchange="args => Client.PostLogoutRedirectUris = args.MultilineToList()">
@string.Join("\n", Client.PostLogoutRedirectUris ?? new List<string>())
</textarea>
</div>
</label>
</div>
</div>
<div class="box p-5">
<h2 class="subtitle">Consent screen</h2>
Expand Down
8 changes: 4 additions & 4 deletions OryAdmin/Components/Pages/OAuth2/Clients/View.razor
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ else
<td>Redirect URIs</td>
<StringListTd List="@_client.RedirectUris"/>
</tr>
<tr>
<td>Post logout redirect URIs</td>
<StringListTd List="@_client.PostLogoutRedirectUris"/>
</tr>
<tr>
<td>Updated at</td>
<td>@_client.UpdatedAt</td>
Expand Down Expand Up @@ -318,10 +322,6 @@ else
<td>Request URIs</td>
<StringListTd List="@_client.RequestUris"/>
</tr>
<tr>
<td>Post logout redirect URIs</td>
<StringListTd List="@_client.PostLogoutRedirectUris"/>
</tr>
<tr>
<td>JWKS</td>
<td>@_client.Jwks</td>
Expand Down

0 comments on commit 49fdb2d

Please sign in to comment.