Open pulkitsinghal opened 9 years ago
An alternative to setting up this project at all could be to use runscope instead: https://www.runscope.com/oauth2_tool but folks may get confused about what to put into Access Token URL
and Authorize URL
fields, so does it still make sense to host this project which may have a friendlier (more hands off) flow?
@pulkitsinghal : The way I am thinking of implementing this is using the modal service popup asking for client id and secret from the user on page load, if user hasn't already given us those details. Once user enters the details, he can click 'login with vend' button from the pop up and it will redirect user to vend login page for users consent. Once he approves it, we will get the accesstoken and other details in the flow. We can store it in some temporary storage and then if user wants to get that data, he will have to enter the creds again and we can display the data in json form on the page for them. The question I have is what do you think about using modal service as a pop up asking for creds?
It makes sense. Go for it!
Sent from my iPhone
On Apr 17, 2015, at 9:06 AM, MeghaY notifications@github.com wrote:
@pulkitsinghal : The way I am thinking of implementing this is using the modal service popup asking for client id and secret from the user on page load, if user hasn't already given us those details. Once user enters the details, he can click 'login with vend' button from the pop up and it will redirect user to vend login page for users consent. Once he approves it, we will get the accesstoken and other details in the flow. We can store it in some temporary storage and then if user wants to get that data, he will have to enter the creds again and we can display the data in json form on the page for them. The question I have is what do you think about using modal service as a pop up asking for creds?
— Reply to this email directly or view it on GitHub.
client_id
andclient_secret
on a demo site that isn't geared to be super secure but only meant to help folks get a semi-secure quickstart.client_id
andclient_secret
as arguments.