kratos icon indicating copy to clipboard operation
kratos copied to clipboard

fix: check OIDC setting method via flow.MethodEnabledAndAllowed

Open jim-kirisame opened this issue 1 year ago • 1 comments

OIDC setting will produce faulty "endpoint disabled" when setting request from another method, because it does not check if request method is matched with OIDC. Use flow.MethodEnabledAndAllowed could fix this problem.

Related issue(s)

Checklist

  • [x] I have read the contributing guidelines.
  • [ ] I have referenced an issue containing the design document if my change introduces a new feature.
  • [x] I am following the contributing code guidelines.
  • [x] I have read the security policy.
  • [x] I confirm that this pull request does not address a security vulnerability. If this pull request addresses a security vulnerability, I confirm that I got the approval (please contact [email protected]) from the maintainers to push the changes.
  • [ ] I have added tests that prove my fix is effective or that my feature works.
  • [ ] I have added or changed the documentation.

Further Comments

jim-kirisame avatar Feb 14 '24 04:02 jim-kirisame

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Feb 14 '24 04:02 CLAassistant