• Resolved doctoror

    (@doctoror)


    ### WordPress Environment ###
    
    Home URL: http://localhost/wordpress
    Site URL: http://localhost/wordpress
    WC Version: 2.5.2
    Log Directory Writable: ✔  /usr/share/webapps/wordpress/wp-content/uploads/wc-logs/
    WP Version: 4.4.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.18 (Unix) OpenSSL/1.0.2f PHP/7.0.3
    PHP Version: 7.0.3
    PHP Post Max Size: 8 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    SUHOSIN Installed: –
    MySQL Version: 5.5.5
    Max Upload Size: 2 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✕ wp_remote_get() failed. The WooCommerce plugin updater won't work with your server. Contact your hosting provider. Error: Resolving timed out after 5514 milliseconds
    
    ### Database ###
    
    WC Database Version: 2.5.2
    :
    woocommerce_sessions: ✔
    woocommerce_api_keys: ✔
    woocommerce_attribute_taxonomies: ✔
    woocommerce_termmeta: ✔
    woocommerce_downloadable_product_permissions: ✔
    woocommerce_order_items: ✔
    woocommerce_order_itemmeta: ✔
    woocommerce_tax_rates: ✔
    woocommerce_tax_rate_locations: ✔
    
    ### Active Plugins (1) ###
    
    WooCommerce: by WooThemes – 2.5.2
    
    ### Settings ###
    
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    
    ### API ###
    
    API Enabled: ✔
    API Version: 3.1.0
    
    ### WC Pages ###
    
    Shop Base: #4 - /index.php/shop/
    Cart: #5 - /index.php/cart/
    Checkout: #6 - /index.php/checkout/
    My Account: #7 - /index.php/my-account/
    
    ### Taxonomies ###
    
    Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    ### Theme ###
    
    Name: Twenty Sixteen
    Version: 1.1
    Author URL: https://ww.wp.xz.cn/
    Child Theme: ✕ – If you're modifying WooCommerce on a parent theme you didn't build personally
    then we recommend using a child theme. See: How to create a child theme
    
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –

    Whenever I run a GET request for URL

    http://localhost/wordpress/wc-auth/v1/authorize?app_name=My+App+Name&scope=read_write&user_id=123&return_url=http%3A%2F%2Fapp.com%2Freturn-page&callback_url=https%3A%2F%2Fapp.com%2Fcallback-endpoint

    I get a 404 page

    Object not found!
    
    The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
    
    If you think this is a server error, please contact the webmaster.
    
    Error 404
    
    localhost
    Apache/2.4.18 (Unix) OpenSSL/1.0.2f PHP/7.0.3

    WordPress directory content does not have wc-auth btw

    $ ls -1
    index.php
    license.txt
    readme.html
    wp-activate.php
    wp-admin
    wp-blog-header.php
    wp-comments-post.php
    wp-config-sample.php
    wp-config.php
    wp-content
    wp-cron.php
    wp-includes
    wp-links-opml.php
    wp-load.php
    wp-login.php
    wp-mail.php
    wp-settings.php
    wp-signup.php
    wp-trackback.php
    xmlrpc.php

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

The topic ‘REST API authentication endpoint returns 404’ is closed to new replies.