globe-and-citizen / layer8

This repo contains the Layer8 Resource/Authentication Server, Proxy, and Service Provider Mocks
GNU General Public License v2.0
2 stars 2 forks source link

Adds end-to-end test for Layer8 OAuth2 flow #131

Closed DeeStarks closed 3 months ago

DeeStarks commented 4 months ago

This PR adds a cypress test for the OAuth2 flow. It also adds a new button in WGP login that allows for logging in to layer8 through redirection in addition to the previous popup approach. This makes it easy to test within Cypress

Test Cases Checklist

SECTION 1: RESOURCE SERVER (http://localhost:5001/)

SECTION 2: WE'VE GOT POEMS (http://localhost:5173/)

SECTION 3: IMSHARER (http://localhost:5174/)