Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update registration page #8076

Merged
merged 1 commit into from
Jun 16, 2022
Merged

Conversation

davidpmccormick
Copy link
Contributor

Part of #7808 and #7812

Removing the withPageAuthRequiredSSR wrapper because a user isn't signed in at this part of the journey.

Adding the prospective user's email (that they entered in the previous signup screen) to the sessionToken (JWT) and reading it out from there. Also using the validity of this token to determine whether or not you're allowed to stay on the page, or be redirected away.

@github-actions
Copy link

Size Change: -37 B (0%)

Total Size: 1.12 MB

ℹ️ View Unchanged
Filename Size Change
catalogue/webapp/.next/static/chunks/00a8a139.********************.js 54.3 kB 0 B
catalogue/webapp/.next/static/chunks/321-********************.js 19.2 kB 0 B
catalogue/webapp/.next/static/chunks/33.********************.js 1.84 kB 0 B
catalogue/webapp/.next/static/chunks/682-********************.js 12.5 kB 0 B
catalogue/webapp/.next/static/chunks/735.********************.js 19.3 kB 0 B
catalogue/webapp/.next/static/chunks/813-********************.js 4.34 kB 0 B
catalogue/webapp/.next/static/chunks/814-********************.js 3.04 kB 0 B
catalogue/webapp/.next/static/chunks/819-********************.js 3.73 kB 0 B
catalogue/webapp/.next/static/chunks/907-********************.js 3.19 kB 0 B
catalogue/webapp/.next/static/chunks/916-********************.js 7.05 kB 0 B
catalogue/webapp/.next/static/chunks/956-********************.js 4.88 kB 0 B
catalogue/webapp/.next/static/chunks/997-********************.js 4.1 kB 0 B
catalogue/webapp/.next/static/chunks/framework-********************.js 42.6 kB 0 B
catalogue/webapp/.next/static/chunks/main-********************.js 23.6 kB 0 B
catalogue/webapp/.next/static/chunks/pages/_app-********************.js 126 kB 0 B
catalogue/webapp/.next/static/chunks/pages/_error-********************.js 319 B 0 B
catalogue/webapp/.next/static/chunks/pages/404-********************.js 261 B 0 B
catalogue/webapp/.next/static/chunks/pages/concept-********************.js 1.07 kB 0 B
catalogue/webapp/.next/static/chunks/pages/download-********************.js 6.98 kB 0 B
catalogue/webapp/.next/static/chunks/pages/image-********************.js 3.31 kB 0 B
catalogue/webapp/.next/static/chunks/pages/images-********************.js 5.23 kB 0 B
catalogue/webapp/.next/static/chunks/pages/item-********************.js 4.82 kB 0 B
catalogue/webapp/.next/static/chunks/pages/work-********************.js 21.2 kB 0 B
catalogue/webapp/.next/static/chunks/pages/works-********************.js 3.28 kB 0 B
catalogue/webapp/.next/static/chunks/polyfills-a40ef1678bae11e696dba45124eadd70.js 31 kB 0 B
catalogue/webapp/.next/static/chunks/webpack-********************.js 1.61 kB 0 B
content/webapp/.next/static/chunks/205-********************.js 3.62 kB 0 B
content/webapp/.next/static/chunks/219-********************.js 6.21 kB 0 B
content/webapp/.next/static/chunks/353-********************.js 992 B 0 B
content/webapp/.next/static/chunks/374-********************.js 3.37 kB 0 B
content/webapp/.next/static/chunks/493-********************.js 3.52 kB 0 B
content/webapp/.next/static/chunks/501-********************.js 5.51 kB 0 B
content/webapp/.next/static/chunks/553-********************.js 5.1 kB 0 B
content/webapp/.next/static/chunks/577-********************.js 3.38 kB 0 B
content/webapp/.next/static/chunks/594-********************.js 1.75 kB 0 B
content/webapp/.next/static/chunks/735.********************.js 19.3 kB 0 B
content/webapp/.next/static/chunks/739-********************.js 3.93 kB 0 B
content/webapp/.next/static/chunks/833-********************.js 31.9 kB 0 B
content/webapp/.next/static/chunks/901.********************.js 1.44 kB 0 B
content/webapp/.next/static/chunks/framework-********************.js 42.6 kB 0 B
content/webapp/.next/static/chunks/main-********************.js 23.6 kB 0 B
content/webapp/.next/static/chunks/pages/_app-********************.js 133 kB 0 B
content/webapp/.next/static/chunks/pages/_error-********************.js 330 B 0 B
content/webapp/.next/static/chunks/pages/404-********************.js 259 B 0 B
content/webapp/.next/static/chunks/pages/article-********************.js 3.98 kB 0 B
content/webapp/.next/static/chunks/pages/article-series-********************.js 2.05 kB 0 B
content/webapp/.next/static/chunks/pages/articles-********************.js 2.6 kB 0 B
content/webapp/.next/static/chunks/pages/book-********************.js 1.74 kB 0 B
content/webapp/.next/static/chunks/pages/books-********************.js 2.58 kB 0 B
content/webapp/.next/static/chunks/pages/collections-********************.js 15 kB 0 B
content/webapp/.next/static/chunks/pages/event-********************.js 7.01 kB 0 B
content/webapp/.next/static/chunks/pages/event-series-********************.js 2.04 kB 0 B
content/webapp/.next/static/chunks/pages/events-********************.js 2.75 kB 0 B
content/webapp/.next/static/chunks/pages/exhibition-********************.js 4.64 kB 0 B
content/webapp/.next/static/chunks/pages/exhibitions-********************.js 2.65 kB 0 B
content/webapp/.next/static/chunks/pages/guides-********************.js 4.97 kB 0 B
content/webapp/.next/static/chunks/pages/homepage-********************.js 3.86 kB 0 B
content/webapp/.next/static/chunks/pages/newsletter-********************.js 3.63 kB 0 B
content/webapp/.next/static/chunks/pages/page-********************.js 2.12 kB 0 B
content/webapp/.next/static/chunks/pages/season-********************.js 1.67 kB 0 B
content/webapp/.next/static/chunks/pages/stories-********************.js 1.28 kB 0 B
content/webapp/.next/static/chunks/pages/visit-us-********************.js 2.56 kB 0 B
content/webapp/.next/static/chunks/pages/whats-on-********************.js 5.97 kB 0 B
content/webapp/.next/static/chunks/polyfills-a40ef1678bae11e696dba45124eadd70.js 31 kB 0 B
content/webapp/.next/static/chunks/webpack-********************.js 1.57 kB 0 B
identity/webapp/.next/static/chunks/357-********************.js 10.7 kB 0 B
identity/webapp/.next/static/chunks/442-********************.js 8.18 kB 0 B
identity/webapp/.next/static/chunks/735.********************.js 19.3 kB 0 B
identity/webapp/.next/static/chunks/framework-********************.js 42.4 kB 0 B
identity/webapp/.next/static/chunks/main-********************.js 23.6 kB 0 B
identity/webapp/.next/static/chunks/pages/_app-********************.js 154 kB 0 B
identity/webapp/.next/static/chunks/pages/_error-********************.js 193 B 0 B
identity/webapp/.next/static/chunks/pages/delete-requested-********************.js 1.47 kB 0 B
identity/webapp/.next/static/chunks/pages/error-********************.js 1.55 kB 0 B
identity/webapp/.next/static/chunks/pages/index-********************.js 11.5 kB 0 B
identity/webapp/.next/static/chunks/pages/registration-********************.js 4.53 kB -37 B (-1%)
identity/webapp/.next/static/chunks/pages/success-********************.js 2.16 kB 0 B
identity/webapp/.next/static/chunks/pages/validated-********************.js 3.46 kB 0 B
identity/webapp/.next/static/chunks/polyfills-a40ef1678bae11e696dba45124eadd70.js 31 kB 0 B
identity/webapp/.next/static/chunks/webpack-********************.js 1.54 kB 0 B

compressed-size-action

Copy link
Contributor

@melanierogan melanierogan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@davidpmccormick davidpmccormick merged commit 5e743b3 into main Jun 16, 2022
@davidpmccormick davidpmccormick deleted the registration-without-auth-wrapper branch June 16, 2022 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants