Skip to content

Conversation

MKmedicalvalues
Copy link

On desktop, mTLS and client certificates are handled by the browser.

On mobile however, apps (unlike the browser) are not allowed to access client certificates stored by the operating system because of security concerns. This results in apps having to handle mTLS themselves.

This change adds two optional parameters to the authenticate and refreshToken functions that allow passing pkcs data and an optional password for said data to the generic-oauth2 plugin to perform oauth2 against a server that expects client certificates.

@MKmedicalvalues MKmedicalvalues changed the title Add mTLS support for iOS and Android feat: mTLS support for iOS and Android Aug 29, 2025
@MKmedicalvalues MKmedicalvalues marked this pull request as ready for review September 1, 2025 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant