<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00006Dd0VDSAZOkta Classic EngineUniversal DirectoryAnswered2021-12-02T16:36:21.000Z2019-05-07T18:41:55.000Z2019-05-17T22:50:28.000Z

GuyH.63811 (Customer) asked a question.

Generate fake Okta access token for automated testing

I have a server that validates Okta access tokens as a means for authentication. I want to write tests that test my endpoints, and thus need to provide an Okta access token through in order to reach the endpoint but I don't want to actually hit Okta for every endpoint test. Is there a way to generate a mock Okta access_token that would pass the oktaJwtVerifier's verifyAccessToken method?


This question is closed.
Loading
Generate fake Okta access token for automated testing