March 2, 2016 at 10:48 pm #8292babbupandeyParticipant
I am trying to get a token for a pre-authorised application (the application does not have access-code) using implicit authorisation workflow. The challenge is that I want to get the token without URI redirection. Is there any way I can do that with RESTful API?March 3, 2016 at 12:35 pm #8311Bill NelsonParticipant
The “Authorization Code Grant Flow” and the “Implicit Grant Flow” are both flows that involve redirects between the Resource Owner, the Client, and the Authorization Server. The purpose of the redirect_uri in this “dance” is to tell the Authorization Server how to redirect the Resource Owner back to the Client. So if you are using either of these two flows, then no, there is no way not to use the redirect.
May I suggest that you look at the “Resource Owner Password Credentials Grant Flow” or the “Client Credentials Grant Flow”, instead. Both of these were meant for more programmatic methods of obtaining the Access Token as you describe.March 3, 2016 at 11:30 pm #8344babbupandeyParticipant
Thanks for your reply Bill. Looks like client_credentials should solve my problem. I will look more into this. I really appreciate your reply.March 4, 2016 at 1:33 am #8346Bill NelsonParticipant
No problem and thanks for the “token” of your appreciation (see what I just did there?). :-)
You must be logged in to reply to this topic.