Skip to content

Commit

Permalink
Add aidbox styles
Browse files Browse the repository at this point in the history
  • Loading branch information
vesnushka committed Oct 9, 2024
1 parent 3732709 commit 027d861
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions env/aidbox
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ TWO_FACTOR_ISSUER_NAME=MammoChat
TWO_FACTOR_VALID_PAST_TOKENS_COUNT=5
TWO_FACTOR_WEBHOOK_URL="http://devbox:8080/webhook/two-factor-confirmation"
TWO_FACTOR_WEBHOOK_AUTHORIZATION="Basic cm9vdDpzZWNyZXQ=" # root:secret

AIDBOX_CSS=http://localhost:3000/aidbox.css
5 changes: 4 additions & 1 deletion zenproject/zrc/system.edn
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@
:secret "secret"}
:patient-questionnaire {:grant_types [:basic]
:secret "secret"}}
:AuthConfig {:app {:twoFactor {:issuerName #env TWO_FACTOR_ISSUER_NAME,
:AuthConfig {:app {:theme {:brand "UCF MammoChat",
:title "UCF MammoChat",
:styleUrl #env AIDBOX_CSS}
:twoFactor {:issuerName #env TWO_FACTOR_ISSUER_NAME,
:validPastTokensCount #env-integer TWO_FACTOR_VALID_PAST_TOKENS_COUNT,
:webhook {:endpoint #env TWO_FACTOR_WEBHOOK_URL
:headers {:Authorization #env TWO_FACTOR_WEBHOOK_AUTHORIZATION}}}}},
Expand Down

0 comments on commit 027d861

Please sign in to comment.