# Implement security layer

**URL:** <https://discourse.slimframework.com/t/implement-security-layer/3965>\
**Category:** Questions\
**Created:** [March 25, 2020, 11:57pm UTC](https://discourse.slimframework.com/t/implement-security-layer/3965 "2020-03-25T23:57:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lsantaniello](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/lsantaniello/32/679_2.png) [@lsantaniello](https://discourse.slimframework.com/u/lsantaniello)\
**Post date:** [March 25, 2020, 11:57pm UTC](https://discourse.slimframework.com/t/implement-security-layer/3965/1 "2020-03-25T23:57:04Z")

</div>

Hi all,  
I Need to implement a security layer for My PHP slim rest api. I’d like to use a tool similar to wso2 in order to implement oauth2 or saml protocol. Could you please help me to found framework or tool?

Thanks  
Luca

---

<div class="post-metadata">

**Author:** ![odan](https://avatars.discourse-cdn.com/v4/letter/o/9de053/32.png) [@odan](https://discourse.slimframework.com/u/odan)\
**Post date:** [March 26, 2020, 11:20am UTC](https://discourse.slimframework.com/t/implement-security-layer/3965/2 "2020-03-26T11:20:17Z")

</div>

Hi @lsantaniello

I don’t know a framework, but I have written a blog post about the topic Slim and OAuth:

> **[Slim 4 - OAuth 2.0 and JSON Web Token (JWT) Setup](https://odan.github.io/2019/12/02/slim4-oauth2-jwt.html)**
>
> Table of contents
