Skip to content

Feature Request: OAUTH2 PKCE needed #296

Open

Description

@maquejp

Hello,
We are trying to implement oauth2 authentication against a in-house authentication server.
The issue is that they request to have PKCE (Code Challenge) to access the request. So we receive a Invalid request: Missing CodeChallenge (PKC2 - RFC 7636)
Can you confirm that it is not actually the case with the osTicket plugin?
Do you plan to implement it anytime soon?
Best regards

Activity

  1. JediKev commented on May 20, 2025

    @JediKev
    Contributor

    @maquejp

    No, the current iteration of OAuth2 in osTicket does not support the concept of PKCE code challenges. You’ll need to ask your provider to disable it or you’ll need to modify the code/plugin to your liking. With this being said we can take this as an enhancement for after v2.0; stay tuned!

    Cheers.

  2. changed the title [-]OAUTH2 PKCE needed[/-] [+]Feature Request: OAUTH2 PKCE needed[/+] on May 20, 2025
  3. maquejp commented on May 20, 2025

    @maquejp
    Author

    My organisation will not change it for me it is the corporate solution so we have to comply. For the time being we are using LDAP but we have been asked to move to the corporate solution.
    So ennhancement it should be.
    Any roadmap for 2.0?

  4. JediKev commented on May 20, 2025

    @JediKev
    Contributor

    @maquejp

    No set release date but we are planning on releasing a preview this year. We do have a public roadmap but it’s admittedly not updated regularly and does not reflect the current development progress.

    Cheers.

  5. maquejp commented on May 20, 2025

    @maquejp
    Author

    The OAuth2 cannot be patched before 2.0?

  6. JediKev commented on May 20, 2025

    @JediKev
    Contributor

    @maquejp

    Currently, legacy osTicket is in maintenance mode whilst we focus on v2.0. This means we are not making any major changes, adding any new features, etc. (unless absolutely required like a provider makes critical changes, etc.). So if you want this before v2.0 then you’ll need to modify the code and plugin yourself (the beauty of open source software).

    Cheers.

  7. maquejp commented on May 21, 2025

    @maquejp
    Author

    @JediKev I have checked with the team in charge, and they are allowing me to for "nonce" instead of pkce... But I do not see anything about it for the plugin, is it also a dead-end?

  8. JediKev commented on May 27, 2025

    @JediKev
    Contributor

    @maquejp

    No, we do not support code challenges nor nonce at this time. You’d need to modify the core codebase and/or plugin.

    Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions