Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Fix auth pages flashing #37

Merged
merged 2 commits into from
Jul 9, 2019
Merged

Conversation

allouis
Copy link
Collaborator

@allouis allouis commented Jul 9, 2019

This updates the auth-pages to change the location hash from within the iframe, and the browser auth to post a message asking it to do so.

refs #36

This will allow the members-browser-auth library to post messages to the
auth-pages iframe, asking it to update the location from inside the
frame.
refs #36

This removes the behaviour of forcing the `src` property to change when
opening the auth pages and insteads posts a message "asking" the auth
pages to update the location hash.
@allouis allouis merged commit 9746ef7 into TryGhost:master Jul 9, 2019
@allouis allouis deleted the fix-auth-pages-flashing branch July 9, 2019 10:44
allouis added a commit to allouis/Ghost that referenced this pull request Jul 9, 2019
closes TryGhost#10888

The real work for this was done in:
TryGhost/Members#37

Installed @tryghost/members-auth-pages@1.1.0
Installed @tryghost/members-theme-bindings@0.2.3
allouis added a commit to TryGhost/Ghost that referenced this pull request Jul 9, 2019
closes #10888

The real work for this was done in:
TryGhost/Members#37

Installed @tryghost/members-auth-pages@1.1.0
Installed @tryghost/members-theme-bindings@0.2.3
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant