Murali-group / GraphSpace

The interactive graph sharing website.
http://graphspace.org
GNU General Public License v2.0
29 stars 41 forks source link

Add a page where user can get auth_token. #222

Open adbharadwaj opened 7 years ago

adbharadwaj commented 7 years ago

User needs auth_token to access the REST APIs.

adbharadwaj commented 7 years ago

The aim is to provide the auth token on the API documentation page.

sandeepm96 commented 7 years ago

@adbharadwaj Could you provide some more details as in what technique we would be using to generate auth token that is to be provided to the user?

adbharadwaj commented 7 years ago

We use basic authentication to generate auth token right now.

Aditya Bharadwaj Graduate Research Assistant, Department of Computer Science, Virginia Tech adb@vt.edu

On Sun, Apr 30, 2017 at 2:21 PM, Sandeep Mahapatra <notifications@github.com

wrote:

@adbharadwaj https://github.com/adbharadwaj Could you provide some more details as in what technique we would be using to generate auth token that is to be provided to the user?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Murali-group/GraphSpace/issues/222#issuecomment-298248142, or mute the thread https://github.com/notifications/unsubscribe-auth/ADUeB7lc_4Jm_mz05onYC9GExa7Tw3zVks5r1NE9gaJpZM4MEnK1 .

sandeepm96 commented 7 years ago

To provide the auth token on API documentation page, we need to make changes to the docs in the graphspace-manual repository. We can get the username and password from the user and generate the auth token by base64 encoding. But how will we ensure that the user credentials are correct or the user is signed up for graphspace or not?

adbharadwaj commented 7 years ago

What we want to do is create a user page. This page will provide users details like

This will require following tasks:

adbharadwaj commented 5 years ago

https://summerofcode17.wordpress.com/2017/05/30/using-the-graphspace-restful-api/

adbharadwaj commented 5 years ago

Example: https://support.dnsimple.com/articles/api-access-token/