Skip to content

Commit

Permalink
fix: issues found in tarp #8007 (#8011)
Browse files Browse the repository at this point in the history
Signed-off-by: Arnab Dutta <arnab.bdutta@gmail.com>
Co-authored-by: Mohammad Abudayyeh <47318409+moabu@users.noreply.github.com>
Former-commit-id: 593b3c4
  • Loading branch information
duttarnab and moabu authored Mar 11, 2024
1 parent 6bc48b8 commit 905eb19
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion demos/jans-tarp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jans-tarp",
"version": "1.0.0",
"version": "1.1.0",
"description": "Relying Party tool in form of a Chrome Extension.",
"main": "index.js",
"license": "Apache",
Expand Down
7 changes: 3 additions & 4 deletions demos/jans-tarp/src/options/authFlowInputs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ export default function AuthFlowInputs({ isOpen, handleDialog, client }) {
{loading ? <LinearProgress color="success" /> : ''}
<DialogContent>
<DialogContentText>
Submit below details to create a new OIDC client.
Enter inputs (optional) before initiating authentication flow.
</DialogContentText>
<Stack
component="form"
Expand All @@ -299,7 +299,6 @@ export default function AuthFlowInputs({ isOpen, handleDialog, client }) {
error={additionalParamError.length !== 0}
placeholder='e.g. {"paramOne": "valueOne", "paramTwo": "valueTwo"}'
autoFocus
required
margin="dense"
id="additionalParams"
name="additionalParams"
Expand All @@ -311,7 +310,7 @@ export default function AuthFlowInputs({ isOpen, handleDialog, client }) {
onBlur={(e) => {
validateJson(e);
}}
value={client.additionalParams}
defaultValue={client.additionalParams}
/>

<InputLabel id="acr-value-label">Acr Value</InputLabel>
Expand All @@ -329,7 +328,7 @@ export default function AuthFlowInputs({ isOpen, handleDialog, client }) {
</DialogContent>
<DialogActions>
<Button onClick={handleClose}>Cancel</Button>
<Button type="submit" onClick={triggerCodeFlow}>Trigger</Button>
<Button type="submit" onClick={triggerCodeFlow}>Trigger Auth Flow</Button>
</DialogActions>
</Dialog>
</React.Fragment>
Expand Down
2 changes: 1 addition & 1 deletion demos/jans-tarp/src/static/chrome/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "jans-tarp",
"version": "1.0.0",
"version": "1.1.0",
"description": "Relying Party tool in form of a Chrome Extension.",
"icons": {
"16": "icon.png",
Expand Down
2 changes: 1 addition & 1 deletion demos/jans-tarp/src/static/firefox/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "jans-tarp",
"version": "1.0.0",
"version": "1.1.0",
"description": "Relying Party tool in form of a Firefox Extension.",
"icons": {
"16": "icon.png",
Expand Down

0 comments on commit 905eb19

Please sign in to comment.