• Gregor Tudan
    Gregor Tudan, 2021/01/17 16:29

    Is there an option to link existing users when they log in? After configuring the plugin it creates new users (with a "-0" suffix), although the naming-strategy should create identical usernames.

    • Anca Luca
      Anca Luca, 2021/02/24 01:32

      It is possible to achieve this, but it's not available as a configuration, it needs some technical knowledge and understanding of some XWiki concepts: in order to achieve this, you need to add an object on the existing user profile page, with the id (open id) of the user that you need it to match with. In order to know what kind of data needs to be set in this page, the simplest is to check the objects of the -0 page created by the authenticator. If you choose to make so, don't forget to delete the -0 metadata, to not have 2 such objects with metadata on the wiki.

      • Gregor Tudan
        Gregor Tudan, 2021/04/30 11:31

        Thanks for the hint, I'll give it a try. It would be cool if there would be an option for this in the plugin. Maybe configure an attribute that can be used for matching existing users (like the username or email)?

  • Bojan Popovic
    Bojan Popovic, 2021/05/19 14:33

    Hi, I've installed the plugin and configured OpenID parameters and everything works as expected.
    I wanted to check if it is possible to use JWT token, obtained from OID provider, while sending AJAX request e.g. from XWiki.JavaScriptExtension object?
    Can it be somehow extracted and used in scripts and extensions?

Get Connected