Jump to content

Authenticating REST APIs to your server. How do you do it?


sen5241b
 Share

Recommended Posts

Do you use the OS userids or do you keep them separate in MYSQL? Must users login to a website and request a token to use for REST API requests? Did you use a framework provided method? I need something ultra-simple

Link to comment
Share on other sites

Don't even consider operating system users. Should have absolutely nothing to do with the people on your website.
Users should have some sort of account on your site before they get a token. If they didn't then how would you know which token corresponds to which user?
If you have a framework and it provides authentication then you should use that. If not then you can't really do that, can you?

Do you want simple or do you want secure?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.