Skip to content

Conversation

RaitoBezarius
Copy link
Contributor

GitHub has a special OIDC provider with provider ID := github.

This contains a certain number of interesting special properties w.r.t.
to email retrieval logic (select the primary email, etc.).

It's superior to the generic OIDC one.

Signed-off-by: Raito Bezarius [email protected]

@RaitoBezarius RaitoBezarius force-pushed the github-idp branch 2 times, most recently from 9398090 to 57c876c Compare August 20, 2025 14:33
@RaitoBezarius RaitoBezarius marked this pull request as ready for review August 20, 2025 14:44
@RaitoBezarius
Copy link
Contributor Author

This now was tested in production on an actual deployment successfully.

Copy link
Contributor

@sschu sschu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RaitoBezarius Thanks for the PR. Generally looks good to me. Can you please also add some documentation for the new resource? You could use https://github.com/keycloak/terraform-provider-keycloak/blob/e3e1d90bbbf01fad43799ea5bc732bba7fc6a962/docs/resources/oidc_google_identity_provider.md as inspiration.

GitHub has a special OIDC provider with provider ID := github.

This contains a certain number of interesting special properties w.r.t.
to email retrieval logic (select the primary email, etc.).

It's superior to the generic OIDC one.

Signed-off-by: Raito Bezarius <[email protected]>
@RaitoBezarius
Copy link
Contributor Author

@sschu Apologies for the delay, this is now done.

Copy link
Contributor

@sschu sschu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks a lot!

@sschu sschu merged commit f271c8d into keycloak:main Sep 11, 2025
12 checks passed
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.

2 participants