Forum Discussion

demosoapuser's avatar
demosoapuser
Occasional Contributor
9 years ago

How to use OAuth2 scope with white spaces

In our previous REST Api we've been using a single string Scope for our Oauth credentials like scope_api. But now were given like for example scope1 scope2 scope3. It include spaces which results to bad request for token generation. Is there any solution for this? Thanks in advance 

  • Hi Demosoapuser,

     

    According to this article, it should be possible to use a comma-separated or space-delimited list of strings for this purpose. Do commas work for you?