cypress-io / cypress-io/cypress-documentation
Okta Authentication - incorrect config example of "scope". It should be "scopes"
Open
type: bug
- Dominant language
- TypeScript
- Stars
- 1k
- Forks
- 1.1k
- Avg merge
- 19h 33m
- Merged PRs (30d)
- 76
Description
### Description
On Okta Authentication page, the code snippet that shows the example how method 'loginByOktaApi' should be configure, have a mistake in "config" object. Instead of "scopes" it has "scope". With current config example, scope object is not passed correctly to OktaAuth() constructor and results in invalid token creation without the scope. Correct spelling should be "scopes"
### URL of Issue(s)
https://docs.cypress.io/guides/end-to-end-testing/okta-authentication#Custom-Command-for-Okta-Authentication
Contributor guide
Assessment
This issue has not been assessed yet.