DEV Community

Discussion on: Secure your PHP REST API with Magic

Collapse
 
shahbaz17 profile image
Mohammad Shahbaz Alam

Hello Yorick,

Thanks for asking this question.

As of now, there is no fake DID token. One has to build a frontend application to get a DID token to test.

For now, run:
php -S localhost:8002 -t public

If you are following github.com/shahbaz17/magic-php-res...

This will start frontend application, where you will get the DID token.

Thank you for mentioning, I will add this line to the post.

Collapse
 
shahbaz17 profile image
Mohammad Shahbaz Alam

Or get a DID token from b8e51.csb.app/ for testing.