Getting error while enabling SSO in streamlit

Please take a moment to search the forum and documentation before posting a new topic.
If you’re creating a debugging post, please include the following info:

  1. Are you running your app locally or is it deployed?
    Code is running locally.
  2. If your app is deployed:
    a. Is it deployed on Community Cloud or another hosting platform?
    Its deployed in KOB but getting error in local only
    b. Share the link to the public deployed app.
  3. Share the link to your app’s public GitHub repository (including a requirements file).
  4. Share the full text of the error message (not a screenshot).
    ERROR:main:State mismatch in OIDC callback
  5. Share the Streamlit and Python versions.
    streamlit Version: 1.44.0
    Python Version :3.12

If some one can help me to provide a code to enable SSO in streamlit dashboard.As I followed couple of links but none of them are working.Either I get state mistmatch or missing code verifer or invalid login