cypress-io / cypress-io/cypress-documentation

Okta Authentication - incorrect config example of "scope". It should be "scopes"

Open
#4,635 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.