Re: [xwiki-users] OAuth2 Logout

2017-05-05 Thread gfinesch
Yes, now I know that . I had to try either one way or the other and I've realized that I probably chose the "wrong" one. If I have enough time and...budget , I'll fix the problem by using the component's way of customization. -- View this message in context:

Re: [xwiki-users] OAuth2 Logout

2017-05-05 Thread Thomas Mortagne
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

Re: [xwiki-users] OAuth2 Logout

2017-05-05 Thread gfinesch
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

Re: [xwiki-users] OAuth2 Logout

2017-04-28 Thread Thomas Mortagne
You should probably look at how the OpenID Connect authenticator deal with logout. See https://github.com/xwiki-contrib/oidc/tree/master/oidc-authenticator. By the way since OpenID Connect is based on OAuth2 it might be better make OIDC authenticator support OAuth2 only servers (I don't remember

Re: [xwiki-users] OAuth2 Logout

2017-04-28 Thread Vincent Massol
Hi, I don’t know much about xwiki and oauth2 but by googling I’ve found this extension that seems to be doing that: http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki%20Application%20-%20Google%20Apps It says: "This integration uses the OAuth2 protocol to connect Google Apps with