-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Mapper frontend login + remove temp auth from React frontend #1903
Conversation
Oh, the frontend test is failing as we had used a temp login for the playwright test. Now what shall be the alternative? Creating an OSM account to conduct the e2e test? Would that be feasible? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is excellent!
The only thing missing is the cookie refresh behaviour. On first load the refresh endpoint should be called to attempt cookie refresh (and extend it's expiry). The react frontend does this.
Perhaps it can be a follow up PR, as this is great to merge π
Also good point! I will hold off from merging and look at playwright options for login π Could you look at the refresh action? |
Sure! |
@spwoodcock the /refresh endpoint called on the first load on mapper frontend has already been implemented by you. |
Yes that's the one! |
β¦at as external url
β¦nking to mapper frontend add
1fb76e7
to
fc91a5e
Compare
β¦1910) * test: wip persist osm login across playwright tests * test: add temp auth config as a playwright workaround
What type of PR is this? (check all applicable)
Related Issue
Describe this PR
This PR contains the following works:
Mapper Frontend
React Frontend
START MAPPING
to link react frontend to mapper frontendScreenshots