Hello im using osticket v1.18.1 and OAuth2 plugin using Keycloak, and after i loging using keycloak its redirected to homepage with no credential loged in.

when i click its redirect to keycloak login

but after i log in its keep getting redirect to homepage without log in

this is the client setup in keycloak
and here is the OAuth2 Plugin config

please kindly advice for this issue, if any information you need i will reply here

thanks

  • KevinTheJedi replied to this.
  • KevinTheJedi i do fresh install of osticket and its work, but sorry still cant find the root cause of this case,
    anyway u can close this thread, thank you

    prayogi

    For web origins it appears as though you need to remove the trailing /tickets.php.

    Also, I would assume the :8080 needs to be in both keycloak and osTicket if that’s what you are truly using. URLs typically need to match in both places.

    Cheers.

      KevinTheJedi Hi Kevin, thank you for replying me

      i remove the /ticket.php and still not work, for port number i dont think its the issue, because i use the keycloak for wordrpress too and its working (its different port number).

      this is the network log in f12 tool of chrome

      any idea?

        prayogi

        Looks like you’ll have to debug the plugin by unpacking it and adding debug statements.

        Cheers.

          KevinTheJedi i do fresh install of osticket and its work, but sorry still cant find the root cause of this case,
          anyway u can close this thread, thank you

          4 months later

          Sir, badly struggling with keycloak integration with the same redirect issue.May please suggest.

          Write a Reply...