Fetching Sonarqube's server accessToken programmatically?

What are you trying to accomplish?
I am trying to get the accessToken of SonarServer in the plugin

Welcome :slight_smile:

You may use the web api api/user_tokens/generate to create a token.
see documentation


I won’t be needing any authentication while calling this particular api ? “localhost:9000api/user_tokens/generate”

1 Like

I have tried to generate a token and it is not allowing me to generate it because I need to have authentication for calling this particular api.

Of course you need permissions to access Sonarqube before you can use the web api
to create a token.