Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting Subject Source to 'oid' crashes kratos #4269

Open
5 tasks done
mustafacansevinc opened this issue Jan 16, 2025 · 0 comments
Open
5 tasks done

Setting Subject Source to 'oid' crashes kratos #4269

mustafacansevinc opened this issue Jan 16, 2025 · 0 comments
Labels
bug Something is not working.

Comments

@mustafacansevinc
Copy link

Preflight checklist

Ory Network Project

No response

Describe the bug

When oid is used as the subject_source for Microsoft in the OIDC provider configuration, kratos crashes and stops running.

Reproducing the bug

  1. Define subject_source: oid in the configuration under selfservice.methods.oidc.config.providers[].subject_source
  2. Run kratos

Relevant log output

I[#/selfservice/methods/oidc/config/providers/0] S[#/properties/selfservice/properties/methods/properties/oidc/properties/config/properties/providers/items/$ref] doesn't validate with "#/definitions/selfServiceOIDCProvider"
2025-01-16 10:15:08   I[#/selfservice/methods/oidc/config/providers/0/subject_source] S[#/definitions/selfServiceOIDCProvider/properties/subject_source/enum] value must be one of "userinfo", "me"

Relevant configuration

selfservice:
  methods: 
    oidc:
      enabled: true
      config:
        providers:
          - id: microsoft
            provider: microsoft
            subject_source: oid

Version

1.3.1

On which operating system are you observing this issue?

None

In which environment are you deploying?

Docker Compose

Additional Context

Related to #4170

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working.
Projects
None yet
Development

No branches or pull requests

1 participant