cypress-io / cypress-documentation

Cypress Documentation for the Cypress App, API, Cypress Cloud, UI Coverage and Cypress Accessibility.
https://docs.cypress.io
MIT License
945 stars 1.05k forks source link

Explain where authService is coming from in Okta auth #5621

Open TD-DO opened 8 months ago

TD-DO commented 8 months ago

Subject

Guides

Description

I'm trying to follow along with https://docs.cypress.io/guides/end-to-end-testing/okta-authentication#Adapting-an-Okta-App-for-Testing and I notice the variable authService being used and I can't figure out where it comes from (what package etc)

jennifer-shehane commented 8 months ago

@TD-DO I would check the full example linked in the docs here: https://github.com/cypress-io/cypress-realworld-app/blob/develop/src/containers/AppOkta.tsx

Open to PRs to improve the docs.