Skip to content
Advertisement

How to run okta auth sample for php

I download sample code from github https://github.com/okta/samples-php/tree/develop/okta-hosted-login and run it following guide. when I start server, it shows this issue.

JavaScript

if I refresh page it says

JavaScript

how to fix this issue?

Advertisement

Answer

Try to generate a token on okta project manage panel. Copy it to config file in your project

For example:

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement