cypress-documentation icon indicating copy to clipboard operation
cypress-documentation copied to clipboard

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

Open bondar-artem opened this issue 3 years ago • 0 comments

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

bondar-artem avatar Aug 01 '22 21:08 bondar-artem