• Resolved ramamahardika

    (@ramamahardika)


    Hello can you help with the authenticated user trying to access endpoints?
    It gave me CORS error in the browsers when trying to access the endpoints:
    I passed the “Bearer jwt-token” on the header
    I did turn on CORS and check all the settings.

    But after logged in and trying to access endpoint bellow
    http://localhost/siap-bali/wp-json/wp/v2/users/me
    with the Headers
    Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2NjA0NzA3MTUsImV4cCI6MTY2MDQ3NDMxNSwiZW1haWwiOiJwZW55aWRpa0BlbWFpbC5jb20iLCJpZCI6Miwic2l0ZSI6Imh0dHA6XC9cLzE5Mi4xNjguNDMuMjA3XC9zaWFwLWJhbGkiLCJ1c2VybmFtZSI6InVzZXJwZW55aWRpayJ9.5g2RkvRt55hBv6f9JwsA55hxiYOCPQS3NJFmK_j6U2g

    It still says CORS error in the network tabs chrome dev tools

    Is this related to rest_authentication_errors ?

    Thank you

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘CORS error but no response data’ is closed to new replies.