-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GovOne authentication integration changes (#1020)
* WIP * tweak logout path logic * Existing session logic * Opt in WCAG logic * add check for session id token in logout link * QA debug * Avoid duplicate hits on about page * Sanity check * Fix memory issue for QA locally and in pipeline? * Trigger full WCAG check on demand if already deployed and includes changes * Factory and count * Test feature in pipeline * Integrate GovOne to replace existing sessions and skip deprecated specs * Update docs and fix specs * Increase coverage * Fix pa11y and plan to retire old devise functionality * Tidy * Delete old GPaaS debugging var --------- Co-authored-by: jack.coggin <[email protected]>
- Loading branch information
1 parent
4af564b
commit 263000d
Showing
49 changed files
with
398 additions
and
390 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,9 @@ | |
--markup markdown | ||
- | ||
cms/*.md | ||
gov_one_login/*.md | ||
data/*.md | ||
uml/*.md | ||
adr/*.md | ||
RELEASE.md | ||
GOV_ONE.md | ||
LICENSE |
File renamed without changes.
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
This file was deleted.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
- unless current_user | ||
.light-grey-box class='govuk-!-margin-top-8 govuk-!-margin-bottom-4' | ||
= m('about.enrol') | ||
= render 'home/enrol_buttons' | ||
|
||
.govuk-button-group | ||
- if Rails.application.gov_one_login? | ||
= govuk_link_to 'Create an account or sign in', new_user_session_path | ||
|
||
- else | ||
= govuk_button_link_to 'Create an account', new_user_registration_path | ||
.white-space-pre-wrap= ' or ' | ||
= govuk_link_to 'sign in', new_user_session_path | ||
|
11 changes: 5 additions & 6 deletions
11
app/views/gov_one/show.html.slim → app/views/devise/sessions/gov_one.html.slim
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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.prompt.prompt-home | ||
.govuk-grid-row | ||
.govuk-grid-column-one-quarter | ||
i.fa-2x.fa-solid.fa-circle-info aria-describedby='info icon' | ||
|
||
.govuk-grid-column-three-quarters | ||
= m('home.prompt', headings_start_with: 'xl') |
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
Oops, something went wrong.