REST API authentication with SAML

后端 未结 1 762
鱼传尺愫
鱼传尺愫 2021-02-05 10:01

I\'m struggling to design a SAML2.0 authentication for a REST API using a gateway. REST is used between my backend and my application. I\'m using Java Servlet filter and Spring.

1条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-05 10:23

    It is still draft, but: the OAuth2 SAML bearer profile may a possible solution. http://tools.ietf.org/html/draft-ietf-oauth-saml2-bearer-17

    Use a SAML2 to authenticate to an OAuth2 provider, then call your service with the OAuth2 token.

    0 讨论(0)
提交回复
热议问题