oidc reloaded
This commit is contained in:
parent
adfaa1a587
commit
c65985477e
22 changed files with 558 additions and 255 deletions
16
Yavsc/Views/Shared/getatoken.cshtml
Normal file
16
Yavsc/Views/Shared/getatoken.cshtml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
@using AspNet.Security.OpenIdConnect.Extensions
|
||||
@using Microsoft.IdentityModel.Protocols.OpenIdConnect
|
||||
|
||||
|
||||
@model AuthorisationView
|
||||
|
||||
<div class="jumbotron">
|
||||
<h1>Authorization</h1>
|
||||
|
||||
<p class="lead text-left">Get a token</p>
|
||||
|
||||
<form enctype="application/x-www-form-urlencoded" method="post">
|
||||
@Html.AntiForgeryToken()
|
||||
<input formaction="/api/token/get" class="btn btn-lg btn-success" name="Getatoken" type="submit" value="Getatoken" />
|
||||
</form>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue