bcgov / entity

ServiceBC Registry Team working on Legal Entities
Apache License 2.0
23 stars 58 forks source link

AUTH WEB - convert session state to cookies to accommodate URL changes #16001

Closed JohnamLane closed 1 year ago

JohnamLane commented 1 year ago

In order to prevent issues with our new URLs, AUTH WEB must be converted to use cookies vs session state.

Considerations:

thorwolpert commented 1 year ago

Should use the 2 default packages in the Vue ecosystem.

Bring in as part of our OIDC review.

seeker25 commented 1 year ago

Patrick said we're not doing the cookie right now, he's going to rework namerequest so it doesn't rely on the session storage. Moving this out of the sprint, we can address this later.

We want to do this for nameRequest NR information.

image.png

Domain=.bcregistry.gov.bc.ca

This is what happens currently:

image.png

image.png

Would require changes in auth-web and namerequest

https://github.com/bcgov/sbc-auth https://github.com/bcgov/namerequest

pwei1018 commented 1 year ago

~Patrick said we're not doing the cookie right now, he's going to rework namerequest so it doesn't rely on the session storage. Moving this out of the sprint, we can address this later.~

We want to do this for nameRequest NR information.

image.png

Domain=.bcregistry.gov.bc.ca

This is what happens currently:

image.png

image.png

Would require changes in auth-web and namerequest

https://github.com/bcgov/sbc-auth https://github.com/bcgov/namerequest

I rework the namerequest, namex api and auth api. So it doesn't rely on the session storage.

seeker25 commented 1 year ago

Closing for now.