CharlesOfBit
V2EX  ›  Java

spring security 通过 oauth2 接入 cas

  •  
  •   CharlesOfBit · May 19, 2021 · 3027 views
    This topic created in 2018 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
    akiza
    May 21, 2021
    1
    没有遇到过..但是可以加一层前置的网关,比如 spring gateway 来把请求格式化一下
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1959 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 01:05 · PVG 09:05 · LAX 17:05 · JFK 20:05
    ♥ Do have faith in what you're doing.