-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from IBM-Security/V2.0.6
V2.0.6 release
- Loading branch information
Showing
64 changed files
with
12,641 additions
and
33,978 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
72 changes: 0 additions & 72 deletions
72
samples/authorization-code-flow/node/front-end/dashboard.html
This file was deleted.
Oops, something went wrong.
43 changes: 0 additions & 43 deletions
43
samples/authorization-code-flow/node/front-end/dashboard.js
This file was deleted.
Oops, something went wrong.
28 changes: 28 additions & 0 deletions
28
samples/authorization-code-flow/node/front-end/dashboard.pug
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,28 @@ | ||
extends layout.pug | ||
|
||
block content | ||
.container.main | ||
h3 Welcome #{userInfo.displayName}, | ||
p.lead.mb-5 You have successfully authenticated with IBM Security Verify. | ||
p Below is the information retrieved from the <code>userInfo</code> endpoint for the authenticated user. | ||
.container | ||
.row | ||
.col-md-8 | ||
table.table.table-bordered | ||
thead.table-dark | ||
tr | ||
th User claims | ||
th Value | ||
tbody | ||
each val, key in userInfo | ||
if key === 'ext' | ||
tr | ||
td tenantId | ||
td= userInfo.ext.tenantId | ||
else | ||
tr | ||
td= key | ||
td= val | ||
.row | ||
.col-md-6 | ||
a(href=`/logout`).btn.btn-primary log out |
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,10 @@ | ||
extends layout.pug | ||
|
||
block content | ||
.container.main | ||
p The sample app demonstrates how to authenticate with IBM Security Verify using the Authorization Code Flow. | ||
p You can authenticate using a registered IBM Security Verify's username and password. | ||
a(href='/login').btn.btn-primary log in | ||
|
||
if isAnonymous | ||
p you have succuessfully logged out. |
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,29 @@ | ||
html | ||
head | ||
title= title | ||
link(href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous") | ||
script(src='https://code.jquery.com/jquery-3.3.1.min.js') | ||
|
||
style(type="text/css"). | ||
.jumbotron { | ||
padding: 4rem 2rem; | ||
margin-bottom: 2rem; | ||
background-color: var(--bs-light); | ||
border-radius: .3rem; | ||
} | ||
|
||
|
||
body.d-flex.flex-column.h-100 | ||
.jumbotron | ||
.container | ||
h1 Authorization code flow sample app. | ||
p The sample is using #[a(href='https://www.npmjs.com/package/ibm-verify-sdk' title='IBM Verify Javascript SDK' target='_blank') IBM Verify Javascript SDK] | ||
|
||
.main.flex-shrink-0.mb-5 | ||
block content | ||
|
||
footer.mt-auto.py-3.bg-dark.text-white | ||
.container | ||
.row | ||
.col | ||
p.mb-0 Visit the IBM Security Verify #[a(href='https://docs.verify.ibm.com/verify/docs/authorization-code-example' title='IBM Security Verify authorization code example' target='_blank') Documentation Hub ] for more information about the Authorization code flow sample. |
Oops, something went wrong.