From f652850b732aea9ae9c11f97e087f69175abcc07 Mon Sep 17 00:00:00 2001 From: binon Date: Wed, 17 Jan 2024 14:51:26 +0000 Subject: [PATCH 1/2] Hotfix- auth project --- .../Configuration/WebSettings.cs | 7 +- .../Controllers/AccountController.cs | 2 +- .../Filters/SecurityHeadersAttribute.cs | 2 +- Auth/LearningHub.Nhs.Auth/Styles/sso.scss | 16 - .../Views/Shared/LearningHub/_Layout.cshtml | 4 + .../Shared/LearningHub/_NavPartial.cshtml | 40 +- .../Views/Shared/_Signout_Layout.cshtml | 86 ++-- .../Views/Shared/_SsoLayout.cshtml | 138 +++--- .../Views/Sso/Create.cshtml | 447 +++++++++--------- .../Views/Sso/NotAuthenticated.cshtml | 21 +- Auth/LearningHub.Nhs.Auth/wwwroot/css/sso.css | 2 +- .../wwwroot/css/sso.css.map | 2 +- 12 files changed, 374 insertions(+), 393 deletions(-) diff --git a/Auth/LearningHub.Nhs.Auth/Configuration/WebSettings.cs b/Auth/LearningHub.Nhs.Auth/Configuration/WebSettings.cs index 849253d..0839951 100644 --- a/Auth/LearningHub.Nhs.Auth/Configuration/WebSettings.cs +++ b/Auth/LearningHub.Nhs.Auth/Configuration/WebSettings.cs @@ -55,5 +55,10 @@ public class WebSettings /// Gets or sets the SupportForm. /// public string SupportForm { get; set; } - } + + /// + /// Gets or sets the SupportFeedbackForm. + /// + public string SupportFeedbackForm { get; set; } + } } diff --git a/Auth/LearningHub.Nhs.Auth/Controllers/AccountController.cs b/Auth/LearningHub.Nhs.Auth/Controllers/AccountController.cs index ac3fdc8..46d5cc2 100644 --- a/Auth/LearningHub.Nhs.Auth/Controllers/AccountController.cs +++ b/Auth/LearningHub.Nhs.Auth/Controllers/AccountController.cs @@ -334,6 +334,7 @@ private async Task BuildLoginViewModelAsync(string returnUrl) // Base _layout.cshtml template config this.ViewData["AuthMainTitle"] = loginClientTemplate.AuthMainTitle; + this.ViewData["ClientUrl"] = loginClientTemplate.ClientUrl; this.ViewData["ClientLogoUrl"] = loginClientTemplate.ClientLogoUrl; this.ViewData["ClientLogoSrc"] = loginClientTemplate.ClientLogoSrc; this.ViewData["ClientLogoAltText"] = loginClientTemplate.ClientLogoAltText; @@ -380,7 +381,6 @@ private async Task BuildLoginViewModelAsync(string returnUrl) if (client != null) { allowLocal = client.EnableLocalLogin; - if (client.IdentityProviderRestrictions != null && client.IdentityProviderRestrictions.Any()) { providers = providers.Where(provider => client.IdentityProviderRestrictions.Contains(provider.AuthenticationScheme)).ToList(); diff --git a/Auth/LearningHub.Nhs.Auth/Filters/SecurityHeadersAttribute.cs b/Auth/LearningHub.Nhs.Auth/Filters/SecurityHeadersAttribute.cs index 453a24c..51e693d 100644 --- a/Auth/LearningHub.Nhs.Auth/Filters/SecurityHeadersAttribute.cs +++ b/Auth/LearningHub.Nhs.Auth/Filters/SecurityHeadersAttribute.cs @@ -37,7 +37,7 @@ public override void OnResultExecuting(ResultExecutingContext context) // https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy ////var csp = "default-src 'self'; object-src 'none'; frame-ancestors 'none'; sandbox allow-forms allow-same-origin allow-scripts; base-uri 'self';"; - var csp = "object-src 'none'; frame-ancestors 'none'; sandbox allow-forms allow-same-origin allow-scripts; base-uri 'self';"; + var csp = "object-src 'none'; frame-ancestors 'none'; sandbox allow-forms allow-same-origin allow-scripts allow-popups; base-uri 'self';"; //// also consider adding upgrade-insecure-requests once you have HTTPS in place for production ////csp += "upgrade-insecure-requests;"; //// also an example if you need client images to be displayed from twitter diff --git a/Auth/LearningHub.Nhs.Auth/Styles/sso.scss b/Auth/LearningHub.Nhs.Auth/Styles/sso.scss index c1b6e5d..cc8225d 100644 --- a/Auth/LearningHub.Nhs.Auth/Styles/sso.scss +++ b/Auth/LearningHub.Nhs.Auth/Styles/sso.scss @@ -10,22 +10,6 @@ body { background-color: $nhsuk-grey-white; } -header { - background-color: $nhsuk-blue; - height: 112px; - padding: 0 15px; -} - -footer { - background-color: $nhsuk-blue; - height: 130px; - padding: 0 15px; - position: absolute; - left: 0; - bottom: 0; - width: 100%; -} - a { text-decoration: underline; } diff --git a/Auth/LearningHub.Nhs.Auth/Views/Shared/LearningHub/_Layout.cshtml b/Auth/LearningHub.Nhs.Auth/Views/Shared/LearningHub/_Layout.cshtml index 52a6a0e..6c57885 100644 --- a/Auth/LearningHub.Nhs.Auth/Views/Shared/LearningHub/_Layout.cshtml +++ b/Auth/LearningHub.Nhs.Auth/Views/Shared/LearningHub/_Layout.cshtml @@ -38,6 +38,10 @@ +
+ BETA + This is a new platform - your feedback will help us to improve it. +
@RenderBody() diff --git a/Auth/LearningHub.Nhs.Auth/Views/Shared/LearningHub/_NavPartial.cshtml b/Auth/LearningHub.Nhs.Auth/Views/Shared/LearningHub/_NavPartial.cshtml index f118fb9..6a5e554 100644 --- a/Auth/LearningHub.Nhs.Auth/Views/Shared/LearningHub/_NavPartial.cshtml +++ b/Auth/LearningHub.Nhs.Auth/Views/Shared/LearningHub/_NavPartial.cshtml @@ -1,24 +1,24 @@  @functions { - public string PreLoginClass() - { - if (!User.Identity.IsAuthenticated) return "nhsuk-header__pre-login"; - return ""; - } + public string PreLoginClass() + { + if (!User.Identity.IsAuthenticated) return "nhsuk-header__pre-login"; + return ""; + } } \ No newline at end of file diff --git a/Auth/LearningHub.Nhs.Auth/Views/Shared/_Signout_Layout.cshtml b/Auth/LearningHub.Nhs.Auth/Views/Shared/_Signout_Layout.cshtml index cd82c32..89d0f03 100644 --- a/Auth/LearningHub.Nhs.Auth/Views/Shared/_Signout_Layout.cshtml +++ b/Auth/LearningHub.Nhs.Auth/Views/Shared/_Signout_Layout.cshtml @@ -5,53 +5,49 @@ - - - @ViewData["Title"] - Learning Hub Authentication - - - - - - - - - - - - - - + + + @ViewData["Title"] - Learning Hub Authentication + + + + + + + + + + -
-
- @RenderBody() -
-
+
+
+ @RenderBody() +
+
- - - - - - - - - @RenderSection("Scripts", required: false) + + + + + + + + + @RenderSection("Scripts", required: false) diff --git a/Auth/LearningHub.Nhs.Auth/Views/Shared/_SsoLayout.cshtml b/Auth/LearningHub.Nhs.Auth/Views/Shared/_SsoLayout.cshtml index e3e19f3..513a6fd 100644 --- a/Auth/LearningHub.Nhs.Auth/Views/Shared/_SsoLayout.cshtml +++ b/Auth/LearningHub.Nhs.Auth/Views/Shared/_SsoLayout.cshtml @@ -1,89 +1,75 @@ @using IdentityServer4.Extensions +@inject Microsoft.Extensions.Options.IOptions settings @{ - string name = null; - if (!true.Equals(ViewData["signed-out"])) - { - name = Context.User?.GetDisplayName(); - } + string name = null; + if (!true.Equals(ViewData["signed-out"])) + { + name = Context.User?.GetDisplayName(); + } } - - - @ViewData["Title"] - Learning Hub Authentication - - - - - - - - - - - - - - + + + @ViewData["Title"] - Learning Hub Authentication + + + + + + + + + + + + + -
-
-
-
- NHS -
- -
-
-
- -
-
- @RenderBody() -
+ +
+ BETA + This is a new platform - your feedback will help us to improve it. +
+
+
+ @RenderBody() +
+
-
-
-
-
- NHS -
- -
-
-
- - - - - - - - - +
+ +
+ + + + + + + + - - @RenderSection("Scripts", required: false) + + @RenderSection("Scripts", required: false) diff --git a/Auth/LearningHub.Nhs.Auth/Views/Sso/Create.cshtml b/Auth/LearningHub.Nhs.Auth/Views/Sso/Create.cshtml index 4899e12..0c684ad 100644 --- a/Auth/LearningHub.Nhs.Auth/Views/Sso/Create.cshtml +++ b/Auth/LearningHub.Nhs.Auth/Views/Sso/Create.cshtml @@ -1,233 +1,236 @@ @model LearningHub.Nhs.Auth.ViewModels.Sso.CreateUserViewModel @{ - ViewBag.Title = "Registration"; - Layout = "~/Views/Shared/_SsoLayout.cshtml"; + ViewBag.Title = "Registration"; + Layout = "~/Views/Shared/_SsoLayout.cshtml"; } -
-
-
-

Link your Learning Hub account with your organisation

- -

The @Model.ClientName website has requested authorisation to access the Learning Hub.

- -

If you already have an account on the Learning Hub, you can link your existing Learning Hub account with your @Model.ClientName account by entering your username and password below.

- -

When you select ‘Link my account’, the details you have entered will be sent to @Model.ClientName for approval.

- -

If you don’t have an existing Learning Hub account you can create an account.

- -
- - @if (!string.IsNullOrWhiteSpace(Model.Error)) - { -

@Model.Error

- } - -
- -
- @Html.ValidationMessageFor(m => m.SsoLinkUserForm.Username) - -
-
- -
- -
- @Html.ValidationMessageFor(m => m.SsoLinkUserForm.Password) - -
-
- -
- @Html.ValidationMessageFor(m => m.SsoLinkUserForm.Consented) -
-
- @Html.CheckBoxFor(m => m.SsoLinkUserForm.Consented, new { @class = "sso-chk-tnc" }) -
-
- @Html.LabelFor(m => m.SsoLinkUserForm.Consented, @Model.TermsAndConditions) -
-
-
- - -
-
- -
-

Create an account

- -

Enter your details below to create a Learning Hub account and link it to your organisation.

- -

When you select ‘Create linked account’, the details you have entered will be sent to @Model.ClientName for approval.

- -
- - @if (!string.IsNullOrWhiteSpace(Model.Error)) - { -

@Model.Error

- } - -
- -
- @Html.ValidationMessageFor(m => m.SsoRegisterUserForm.FirstName) - -
-
- -
- -
- @Html.ValidationMessageFor(m => m.SsoRegisterUserForm.LastName) - -
-
- -
- -
- @Html.ValidationMessageFor(m => m.SsoRegisterUserForm.EmailAddress) - -
-
- - @if (Model.SsoRegisterUserForm.ShowStaffGroupOption) - { -
- -
- @Html.ValidationMessageFor(m => m.SsoRegisterUserForm.StaffGroupId) - @Html.DropDownListFor(m => m.SsoRegisterUserForm.StaffGroupId, - new SelectList(Model.SsoRegisterUserForm.StaffGroups, "Id", "Name", Model.SsoRegisterUserForm.StaffGroupId), - new { @class = "form-control mt-2" }) -
-
- } - else - { - @Html.HiddenFor(m => m.SsoRegisterUserForm.StaffGroupId) - } - - @if (Model.SsoRegisterUserForm.ShowJobRoleOption) - { -
- -
- @Html.ValidationMessageFor(m => m.SsoRegisterUserForm.JobRoleId) - @Html.DropDownListFor(m => m.SsoRegisterUserForm.JobRoleId, - new SelectList(Model.SsoRegisterUserForm.JobRoles, "Id", "Name", Model.SsoRegisterUserForm.JobRoleId), - new { @class = "form-control mt-2" }) -
-
- } - else - { - @Html.HiddenFor(m => m.SsoRegisterUserForm.JobRoleId) - } - - @if (Model.SsoRegisterUserForm.ShowGradingOption) - { -
- -
- @Html.ValidationMessageFor(m => m.SsoRegisterUserForm.GradeId) - @Html.DropDownListFor(m => m.SsoRegisterUserForm.GradeId, - new SelectList(Model.SsoRegisterUserForm.Grades, "Id", "Name", Model.SsoRegisterUserForm.GradeId), - new { @class = "form-control mt-2" }) -
-
- } - else - { - @Html.HiddenFor(m => m.SsoRegisterUserForm.GradeId) - } - -
- -
- @Html.ValidationMessageFor(m => m.SsoRegisterUserForm.MedicalCouncilNumber) - -
+
+
+
+ +
+

Link your Learning Hub account with your organisation

+ +

The @Model.ClientName website has requested authorisation to access the Learning Hub.

+ +

If you already have an account on the Learning Hub, you can link your existing Learning Hub account with your @Model.ClientName account by entering your username and password below.

+ +

When you select ‘Link my account’, the details you have entered will be sent to @Model.ClientName to link your accounts.

+ +

If you don’t have an existing Learning Hub account you can create an account.

+ + + + @if (!string.IsNullOrWhiteSpace(Model.Error)) + { +

@Model.Error

+ } + +
+ +
+ @Html.ValidationMessageFor(m => m.SsoLinkUserForm.Username) + +
+
+ +
+ +
+ @Html.ValidationMessageFor(m => m.SsoLinkUserForm.Password) + +
+
+ +
+ @Html.ValidationMessageFor(m => m.SsoLinkUserForm.Consented) +
+
+ @Html.CheckBoxFor(m => m.SsoLinkUserForm.Consented, new { @class = "sso-chk-tnc" }) +
+
+ @Html.LabelFor(m => m.SsoLinkUserForm.Consented, @Model.TermsAndConditions) +
+
+
+ + + +
+ +
+

Create an account

+ +

Enter your details below to create a Learning Hub account and link it to your organisation.

+ +

When you select ‘Create linked account’, the details you have entered will be sent to @Model.ClientName for approval.

+ +
+ + @if (!string.IsNullOrWhiteSpace(Model.Error)) + { +

@Model.Error

+ } + +
+ +
+ @Html.ValidationMessageFor(m => m.SsoRegisterUserForm.FirstName) + +
+
+ +
+ +
+ @Html.ValidationMessageFor(m => m.SsoRegisterUserForm.LastName) + +
+
+ +
+ +
+ @Html.ValidationMessageFor(m => m.SsoRegisterUserForm.EmailAddress) + +
+
+ + @if (Model.SsoRegisterUserForm.ShowStaffGroupOption) + { +
+ +
+ @Html.ValidationMessageFor(m => m.SsoRegisterUserForm.StaffGroupId) + @Html.DropDownListFor(m => m.SsoRegisterUserForm.StaffGroupId, + new SelectList(Model.SsoRegisterUserForm.StaffGroups, "Id", "Name", Model.SsoRegisterUserForm.StaffGroupId), + new { @class = "form-control mt-2" }) +
+
+ } + else + { + @Html.HiddenFor(m => m.SsoRegisterUserForm.StaffGroupId) + } + + @if (Model.SsoRegisterUserForm.ShowJobRoleOption) + { +
+ +
+ @Html.ValidationMessageFor(m => m.SsoRegisterUserForm.JobRoleId) + @Html.DropDownListFor(m => m.SsoRegisterUserForm.JobRoleId, + new SelectList(Model.SsoRegisterUserForm.JobRoles, "Id", "Name", Model.SsoRegisterUserForm.JobRoleId), + new { @class = "form-control mt-2" }) +
+
+ } + else + { + @Html.HiddenFor(m => m.SsoRegisterUserForm.JobRoleId) + } + + @if (Model.SsoRegisterUserForm.ShowGradingOption) + { +
+ +
+ @Html.ValidationMessageFor(m => m.SsoRegisterUserForm.GradeId) + @Html.DropDownListFor(m => m.SsoRegisterUserForm.GradeId, + new SelectList(Model.SsoRegisterUserForm.Grades, "Id", "Name", Model.SsoRegisterUserForm.GradeId), + new { @class = "form-control mt-2" }) +
+
+ } + else + { + @Html.HiddenFor(m => m.SsoRegisterUserForm.GradeId) + } + +
+ +
+ @Html.ValidationMessageFor(m => m.SsoRegisterUserForm.MedicalCouncilNumber) + +
+
+ + + @if (Model.SsoRegisterUserForm.ShowSpecialityOption) + { +
+ +
+ @Html.ValidationMessageFor(m => m.SsoRegisterUserForm.SpecialtyId) + @Html.DropDownListFor(m => m.SsoRegisterUserForm.SpecialtyId, + new SelectList(Model.SsoRegisterUserForm.Specialties, "Id", "Name", Model.SsoRegisterUserForm.SpecialtyId), + new { @class = "form-control mt-2" }) +
+
+ + } + else + { + @Html.HiddenFor(m => m.SsoRegisterUserForm.SpecialtyId) + } + + @if (Model.SsoRegisterUserForm.ShowLocation) + { +
+ +
+ @Html.ValidationMessageFor(m => m.SsoRegisterUserForm.LocationId) + + + Results may take a moment to load +
+
+ Information on your place of work will help us provide activity reports to evidence your learning.
+
+
+ } + else + { + @Html.HiddenFor(m => m.SsoRegisterUserForm.LocationId) + } + +
+ @Html.ValidationMessageFor(m => m.SsoRegisterUserForm.Consented) +
+
+ @Html.CheckBoxFor(m => m.SsoRegisterUserForm.Consented, new { @class = "sso-chk-tnc" }) +
+
+ @Html.LabelFor(m => m.SsoRegisterUserForm.Consented, @Model.TermsAndConditions) +
+
+
+ + +
+
- @if (Model.SsoRegisterUserForm.ShowSpecialityOption) - { -
- -
- @Html.ValidationMessageFor(m => m.SsoRegisterUserForm.SpecialtyId) - @Html.DropDownListFor(m => m.SsoRegisterUserForm.SpecialtyId, - new SelectList(Model.SsoRegisterUserForm.Specialties, "Id", "Name", Model.SsoRegisterUserForm.SpecialtyId), - new { @class = "form-control mt-2" }) -
-
- - } - else - { - @Html.HiddenFor(m => m.SsoRegisterUserForm.SpecialtyId) - } - - @if (Model.SsoRegisterUserForm.ShowLocation) - { -
- -
- @Html.ValidationMessageFor(m => m.SsoRegisterUserForm.LocationId) - - - Results may take a moment to load -
-
- Information on your place of work will help us provide activity reports to evidence your learning. -
- -
-
- } - else - { - @Html.HiddenFor(m => m.SsoRegisterUserForm.LocationId) - } - -
- @Html.ValidationMessageFor(m => m.SsoRegisterUserForm.Consented) -
-
- @Html.CheckBoxFor(m => m.SsoRegisterUserForm.Consented, new { @class = "sso-chk-tnc" }) -
-
- @Html.LabelFor(m => m.SsoRegisterUserForm.Consented, @Model.TermsAndConditions) -
-
-
- - - -
+
- @section Scripts -{ - - + { + + } \ No newline at end of file diff --git a/Auth/LearningHub.Nhs.Auth/Views/Sso/NotAuthenticated.cshtml b/Auth/LearningHub.Nhs.Auth/Views/Sso/NotAuthenticated.cshtml index e79dedd..1b60be5 100644 --- a/Auth/LearningHub.Nhs.Auth/Views/Sso/NotAuthenticated.cshtml +++ b/Auth/LearningHub.Nhs.Auth/Views/Sso/NotAuthenticated.cshtml @@ -1,18 +1,21 @@ @model string @{ - ViewBag.Title = "Not Authenticated"; - Layout = "~/Views/Shared/_SsoLayout.cshtml"; + ViewBag.Title = "Not Authenticated"; + Layout = "~/Views/Shared/_SsoLayout.cshtml"; } -
-

Your account cannot be validated

+
+
+
+

Your account cannot be validated

-

The Learning Hub could not validate your account. For help please contact support.

+

The Learning Hub could not validate your account. For help please contact support.

+
+
- \ No newline at end of file diff --git a/Auth/LearningHub.Nhs.Auth/wwwroot/css/sso.css b/Auth/LearningHub.Nhs.Auth/wwwroot/css/sso.css index 8e43f45..e0f249e 100644 --- a/Auth/LearningHub.Nhs.Auth/wwwroot/css/sso.css +++ b/Auth/LearningHub.Nhs.Auth/wwwroot/css/sso.css @@ -1 +1 @@ -html{position:relative;min-height:100%}body{margin:0 0 130px !important;background-color:#f0f4f5}header{background-color:#005eb8;height:112px;padding:0 15px}footer{background-color:#005eb8;height:130px;padding:0 15px;position:absolute;left:0;bottom:0;width:100%}a{text-decoration:underline}.container-fluid{background-color:#fff}.lh-container{max-width:1144px;margin:0 auto}.sso-frame{max-width:756px}.header-title-sso{cursor:pointer;font-family:FrutigerLTW01-65Bold,Arial,sans-serif;font-size:2.7rem;margin-top:5px;margin-bottom:0;clear:both;min-width:215px}.header-beta{color:#c8e4ff;font-family:FrutigerLTW01-55Roman,Arial,sans-serif;font-size:1.7rem;margin-left:2px;text-transform:uppercase}.form-group{max-width:500px}.form-control{margin-top:6px}.sso-btn{color:#fff;border:1px solid rgba(0,0,0,0);padding:10px 20px;background:#007f3b;border-radius:6px}.terms-conditions{background-color:#f0f4f5;font-size:16px}@media(max-width: 768px){.terms-conditions{font-size:14px}}.terms-conditions input{width:30px}.sso-chk-tnc{width:30px}.input-validation-error{border:4px solid #da291c !important}.grade-form-group{border-left:5px solid #c4c4c4;padding-left:14px}.form-group--error{border-left:8px solid #d5281b;padding-left:14px}input,select{height:45px !important;border:2px solid #425563 !important;border-radius:4px !important}.twitter-typeahead{width:100%}.twitter-typeahead .tt-menu{background-color:#fff;border:1px solid #000}.twitter-typeahead .tt-suggestion{padding:6px 8px;font-size:14px;margin:0}.twitter-typeahead .tt-suggestion:hover{cursor:pointer;background-color:#e8f0fe}.locationInfoSection{padding-left:23px;position:relative;margin-top:5px}#whyLocationInfo:before{content:url(/images/triangle-down.svg);position:absolute;top:5px;left:2px}#whyLocationInfo.collapsed:before{content:url(/images/triangle-right.svg)}/*# sourceMappingURL=sso.css.map */ +html{position:relative;min-height:100%}body{margin:0 0 130px !important;background-color:#f0f4f5}a{text-decoration:underline}.container-fluid{background-color:#fff}.lh-container{max-width:1144px;margin:0 auto}.sso-frame{max-width:756px}.header-title-sso{cursor:pointer;font-family:FrutigerLTW01-65Bold,Arial,sans-serif;font-size:2.7rem;margin-top:5px;margin-bottom:0;clear:both;min-width:215px}.header-beta{color:#c8e4ff;font-family:FrutigerLTW01-55Roman,Arial,sans-serif;font-size:1.7rem;margin-left:2px;text-transform:uppercase}.form-group{max-width:500px}.form-control{margin-top:6px}.sso-btn{color:#fff;border:1px solid rgba(0,0,0,0);padding:10px 20px;background:#007f3b;border-radius:6px}.terms-conditions{background-color:#f0f4f5;font-size:16px}@media(max-width: 768px){.terms-conditions{font-size:14px}}.terms-conditions input{width:30px}.sso-chk-tnc{width:30px}.input-validation-error{border:4px solid #da291c !important}.grade-form-group{border-left:5px solid #c4c4c4;padding-left:14px}.form-group--error{border-left:8px solid #d5281b;padding-left:14px}input,select{height:45px !important;border:2px solid #425563 !important;border-radius:4px !important}.twitter-typeahead{width:100%}.twitter-typeahead .tt-menu{background-color:#fff;border:1px solid #000}.twitter-typeahead .tt-suggestion{padding:6px 8px;font-size:14px;margin:0}.twitter-typeahead .tt-suggestion:hover{cursor:pointer;background-color:#e8f0fe}.locationInfoSection{padding-left:23px;position:relative;margin-top:5px}#whyLocationInfo:before{content:url(/images/triangle-down.svg);position:absolute;top:5px;left:2px}#whyLocationInfo.collapsed:before{content:url(/images/triangle-right.svg)}/*# sourceMappingURL=sso.css.map */ diff --git a/Auth/LearningHub.Nhs.Auth/wwwroot/css/sso.css.map b/Auth/LearningHub.Nhs.Auth/wwwroot/css/sso.css.map index 2fc948d..f6a4af3 100644 --- a/Auth/LearningHub.Nhs.Auth/wwwroot/css/sso.css.map +++ b/Auth/LearningHub.Nhs.Auth/wwwroot/css/sso.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["../../Styles/sso.scss","../../Styles/_variables.scss"],"names":[],"mappings":"AAEA,KACI,kBACA,gBAGJ,KACI,4BACA,iBCKe,QDFnB,OACI,iBCbU,QDcV,aACA,eAGJ,OACI,iBCnBU,QDoBV,aACA,eACA,kBACA,OACA,SACA,WAGJ,EACI,0BAGJ,iBACI,sBAGJ,cACI,iBACA,cAGJ,WACI,gBAGJ,kBACI,eACA,kDACA,iBACA,eACA,gBACA,WACA,gBAGJ,aACI,cACA,mDACA,iBACA,gBACA,yBAGJ,YACI,gBAGJ,cACI,eAGJ,SACI,WACA,+BACA,kBACA,WCzEU,QD0EV,kBAGJ,kBACI,iBClEe,QDmEf,eAEA,yBAJJ,kBAKQ,gBAIR,wBACI,WAGJ,aACI,WAGJ,wBACI,oCAGJ,kBACI,8BACA,kBAGJ,mBACI,8BACA,kBAGJ,aACI,uBACA,oCACA,6BAGJ,mBACI,WAEA,4BACI,sBACA,sBAGJ,kCACI,gBACA,eACA,SAEA,wCACI,eACA,yBAKZ,qBACI,kBACA,kBACA,eAIA,wBACI,uCACA,kBACA,QACA,SAKJ,kCACI","file":"sso.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["../../Styles/sso.scss","../../Styles/_variables.scss"],"names":[],"mappings":"AAEA,KACI,kBACA,gBAGJ,KACI,4BACA,iBCKe,QDFnB,EACI,0BAGJ,iBACI,sBAGJ,cACI,iBACA,cAGJ,WACI,gBAGJ,kBACI,eACA,kDACA,iBACA,eACA,gBACA,WACA,gBAGJ,aACI,cACA,mDACA,iBACA,gBACA,yBAGJ,YACI,gBAGJ,cACI,eAGJ,SACI,WACA,+BACA,kBACA,WCzDU,QD0DV,kBAGJ,kBACI,iBClDe,QDmDf,eAEA,yBAJJ,kBAKQ,gBAIR,wBACI,WAGJ,aACI,WAGJ,wBACI,oCAGJ,kBACI,8BACA,kBAGJ,mBACI,8BACA,kBAGJ,aACI,uBACA,oCACA,6BAGJ,mBACI,WAEA,4BACI,sBACA,sBAGJ,kCACI,gBACA,eACA,SAEA,wCACI,eACA,yBAKZ,qBACI,kBACA,kBACA,eAIA,wBACI,uCACA,kBACA,QACA,SAKJ,kCACI","file":"sso.css"} \ No newline at end of file From c9f6f09f7edeb5d1cb1eca6f6eff1b0a508a7f5d Mon Sep 17 00:00:00 2001 From: binon Date: Wed, 17 Jan 2024 15:55:32 +0000 Subject: [PATCH 2/2] adding app settings --- Auth/LearningHub.Nhs.Auth/appsettings.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Auth/LearningHub.Nhs.Auth/appsettings.json b/Auth/LearningHub.Nhs.Auth/appsettings.json index fb85fb9..fbd9f12 100644 --- a/Auth/LearningHub.Nhs.Auth/appsettings.json +++ b/Auth/LearningHub.Nhs.Auth/appsettings.json @@ -38,7 +38,10 @@ "AuthClientIdentityKey": "", "ElfhHub": "", "Rcr": "", - "SupportForm": "https://support.learninghub.nhs.uk/support/tickets/new" + "SupportForm": "https://support.learninghub.nhs.uk/support/tickets/new", + "SupportFeedbackForm": "https://forms.office.com/e/C8tteweEhG" + + }, "AllowOpenAthensDebug": false, "OaLhClients": {