Hi Justin,
I have once altered CAS to make OAuth protocol also support ssoEnabled, although it is a big of a hack so I didn't brother submitting PR
Unfortunately, I don't have the modified code at hand so I am just going to explain my flow with you in text, see if will help you:
- First, Why this ssoEnabled didn't work for OAuth service is because when the ssoEnabled specified in your actual service, (let say:
https://www.example.com/oauth-service), didn't actual take effect
- But here's a tricky point: You won't always want all OAuth to be ssoEnabled=false
See if other have better method to do this OAuth Force Reauthentication, because I think my method is kind of dirty so if there are better method you should use those first.
Hope this info helps you.
Cheers!
- Andy