SSO with CAS or OAuth?

后端 未结 5 1136
一个人的身影
一个人的身影 2020-12-02 03:16

I wonder if I should use the CAS protocol or OAuth + some authentication provider for single sign-on.

Example Scenario:

  1. A User tries to access a protec
5条回答
  •  再見小時候
    2020-12-02 03:56

    I tend to think of it this way:

    Use CAS if you control/own the user authentication system and need to support a heterogenous set of servers and apps that need centralized authentication.

    Use OAuth if you want to support user authentication from systems that you don't own/support (ie Google, Facebook, etc).

提交回复
热议问题