V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
CharlesOfBit
V2EX  ›  Java

spring security 通过 oauth2 接入 cas

  •  
  •   CharlesOfBit · May 19, 2021 · 2446 views
    This topic created in 1813 days ago, the information mentioned may be changed or developed.

    各位彦祖们,场景如题,问题是 spring security 获得浏览器的 code 回传到 cas 获取 token 时,发送的请求中 code 是放在 body 里的,但是 cas 的 api 要求 code 放在 uri 里,彦祖们碰到过这种问题吗,都是怎么解决的?

    1 replies    2021-05-21 13:41:51 +08:00
    akiza
        1
    akiza  
       May 21, 2021
    没有遇到过..但是可以加一层前置的网关,比如 spring gateway 来把请求格式化一下
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   891 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 21:00 · PVG 05:00 · LAX 14:00 · JFK 17:00
    ♥ Do have faith in what you're doing.