If you are referring to the use of Utils.getComponent it's not exactly deprecated but discouraged to avoid having people using it in components but XWikiAuthServiceImpl is still old style so there is not much way around it right now.
On Fri, May 5, 2017 at 10:11 AM, gfinesch <gfine...@eng.it> wrote: > Thank you for your replies. I was actually trying avoiding the deprecated > methods used by the OpenId Connect Extension you suggested so I took the > CAS > Extension source code as an example and from that I built my code. The > login > part runs without errors, the logout part doesn't. We are currently > integrating all our company's applications with OAuth2. I will discuss the > possibility of implementing the OpenID Connect specifics with the server's > developers to be able to use the 'official' Xwiki's OpenID Connect > Extension. > > > > -- > View this message in context: http://xwiki.475771.n2.nabble. > com/OAuth2-Logout-tp7603692p7603759.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > -- Thomas Mortagne