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

Identity | Add instructions on developing with okta/sign in local dev #27791

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

coldlink
Copy link
Member

@coldlink coldlink commented Feb 20, 2025

What does this change?

For Frontend local development we want to be able to use Okta/OAuth tokens locally during development to test and develop against signed in features.

This is currently very difficult as Frontend developments happens on localhost, which cannot share cookies with Identity/Okta, which runs on https on the profile subdomain.

However Fronend can be run on https://m.thegulocal.com by following these instructions. Since that does run locally using https, and on the thegulocal.com domain, it makes it possible to share cookies with Okta.

This PR updates those instructions with updated ones showing exactly the steps needed to be taken in order to enable this. It also updates @guardian/identity-auth-frontend which enables the use of this domain in local development (see the CSNX and Identity Platform PRs below).

Related PRs

Identity Platform: https://github.com/guardian/identity-platform/pull/802
Dotcom Rendering: guardian/dotcom-rendering#13426
CSNX: guardian/csnx#1964
Frontend (This PR): #27791

Tested

  • Local DEV

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