The Slim Framework support forum has moved to http://discourse.slimframework.com. This Tender forum is no longer maintained or monitored.

Secure REST Api, which authentification middleware

smilingmolecule's Avatar

smilingmolecule

30 Nov, 2015 08:25 PM

Hey there,

I am building a small rest api which I now want to make secure. That means I like to use authentification. What way to handle authentification would you suggest? I read about OAuth 2 and 1.0 and basicauth. I read that OAuth 1.0 is more secure but harder to implement. I want to use the api with a desktop software and an angular js frontend. What are you guys using. I am bit confused whats best.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac