Support » Plugin: Login by Auth0 » How to Setup Production Tokens?

  • Resolved backpackingseries

    (@backpackingseries)


    Hi,

    Im trying to understand the process to setup and use production tokens. From your website, I see a helpful resource here:

    https://auth0.com/docs/api/management/v2/get-access-tokens-for-production

    Should I execute these commands from my laptop, the server (with SSH), or it doesn’t matter? And does the process complete here or is there any other step to start using these tokens in production?

    Daft questions perhaps, but I’d ask than be sorry. Appreciate your support.

    Kind regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Josh C

    (@auth0josh)

    Apologies for the delay. The plugin will automatically generate a Management API token used for updating user email and password as well as re-sending the email address verification. If you go to the Auth0 dashboard > APIs > Management API and click the Machine to Machine Applications tab, you should see your WordPress site(s) listed there as authorized with the read and update users scopes. If you add additional scopes there, you can use the WP_Auth0_Api_Abstract in your code to retrieve that token before taking an action. You can see an example of that here:

    https://github.com/auth0/wp-auth0/blob/master/lib/api/WP_Auth0_Api_Change_Email.php

    Hope that helps!

    Thread Starter backpackingseries

    (@backpackingseries)

    Thank you @auth0josh

    I was doing manual setups mostly up – couldn’t get the plugin to autoinstall itself. Since the last version, I see success with the auto-configure feature of the plugin. Hence the question.

    Thank you for the clarification.

    Kind regards,

    Plugin Contributor Josh C

    (@auth0josh)

    Glad to hear and apologies once again for the delay.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to Setup Production Tokens?’ is closed to new replies.