but was not able to get a token neither from browser, nor from a code.
Browser shows [There seems to be a problem. Some information provided by the remote service is missing or invalid, eg. redirect URI, client ID, code, etc. Please contact an administrator for more information.]
code redirects to a login page
So what am i missing, or should be be doing?
I want just a Bearer code so i retrieve some data, that is only visible if you are authorized user.