Stian - thanks for getting back to me. I have managed to get the refesh tokens to work. For some reason I did not need to pass the Authorization header.
In terms of the Bearer only client. Is there no way to get a token for a bearer only client.
My senario is that the user logs in to a desktop app that validates its self via SSO and gets a token to use the desktop app
The user then wishes to use a service on a server. The server has been set up as a bearer only service (this may be in-corret).
The user wishes to use his current grant to obtain a grant for the service on the server.
I thought that while playing with the javascript API I had managed to get the token for a bearer only service and so hoped I could do the same with a grant obtained by Direct Access
Chris