AuthSdkError: No issuer passed to constructor

Hi,

I am new to using Okta and I am having some issues.

I am trying to implement Okta in a React application and keep getting the error:

“AuthSdkError: No issuer passed to constructor.”

So I literally went step by step (copying & pasting code as well) through the tutorial listed here: https://developer.okta.com/code/react/okta_react/ and I am still getting the same error mentioned above.

Any ideas on what might be causing this error? It’s hard to figure out when the tutorial code isn’t even working as intended. The only thing I can think of is somehow I didn’t set up the app in Okta properly.

Thanks

I’d recommend using our QuickStart Guide instead of that tutorial:

https://developer.okta.com/quickstart/#/react/nodejs/express

Or if you want to make it even easier - try our OktaDev Schematics:

Thanks @mraible I will give this a shot and see if I can get something working.