On 31 Aug 2026, at 17:03, Alexander Bokovoy via FreeIPA-users <freeipa-users@lists.fedorahosted.org> wrote:
On Mon, 31 Aug 2026, Francis Augusto Medeiros-Logeay wrote:One quick questions: can I fetch tgt’s using this setup or just service tickets?
Only service tickets. With https://github.com/krb5/krb5/pull/1498
merged, that's all you'd need -- if they exist, they'll be prioritized.__Francis Augusto Medeiros-LogeayOslo, NorwaySent from a mobile device / Enviado a partir de dispositivo móvelOn 31 Aug 2026, at 09:42, Alexander Bokovoy via FreeIPA-users <freeipa-users@lists.fedorahosted.org> wrote:On Fri, 28 Aug 2026, Francis Augusto Medeiros-Logeay via FreeIPA-users wrote:Hi,I developed a Keycloak extension (Keycloak PSSO extension) so that users of managed macOS machines get SSO.The framework used - Platform Single Sign-on - also allows returning kerberos tickets.But I'm not sure how Keycloak could programmatically return kerberos tickets for a user without the password. Some of the pPlatform SSO flows do not involve using passwords.Standard way of achieving this is to let a service to perform Kerberosprotocol transition (S4U operations). S4U2Self is allowed to anyservice, S4U2Proxy is privileged. This is what IPA API is using already.The idea I had first was to use my extension with some keytab with permissions to request kerberos tickets on behalf of other users.But has FreeIPA support for OAuth2 tokens, so that I could simply exchange an OAuth2 token to a kerberos tickets?This would be easier since I already control token issuing on the keycloak side.You can create your own OAuth2 service with a Kerberos service keytaband then handle it there. The service will have to be explicitly allowedto perform operations on behalf of users towards IPA services.I have integration like that done for Ahdapa, see the design and the code in thework in progress modrnizer branch here:https://github.com/abbra/freeipa/blob/modrnizer/doc/designs/webui-oauth2-login.mdand Ahdapa side endpoint documentation here:https://ahdapa.dev/doc/api/internal.html#credential-exchange-oidc-to-kerberosAhdapa is a next generation integrated OAuth2 IdP for FreeIPA,https://forge.fedoraproject.org/freeipa/ahdapaNote that the code in modrnizer branch is building on top of gssproxyintegration for existing IPA HTTP service, so we cannot use the issuedccache outside IPA server itself: the credentials in the ccache areencrypted by gssproxy and can only be decrypted by the same gssproxysession. However, Ahdapa can be set up as a separate IdP endpoint onenrolled IPA client and joined the same IPA topology. If that is done ina way that doesn't use gssproxy, then the ccache produced by thatinstance's OBO endpoint would be usable beyond that service point.If you want to try it, use COPR abbra/modrnizer for experiments.--/ Alexander BokovoySr. Principal Software EngineerSecurity / Identity Management EngineeringRed Hat Limited, Finland--_______________________________________________FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.orgTo unsubscribe send an email to freeipa-users-leave@lists.fedorahosted.orgFedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelinesList Archives: https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.orgDo not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
--
/ Alexander Bokovoy
Sr. Principal Software Engineer
Security / Identity Management Engineering
Red Hat Limited, Finland
--
_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-leave@lists.fedorahosted.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.org
Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new