Thanks to visit codestin.com
Credit goes to github.com

Skip to content

New updated Authlib Version 1.6.6 in streamlit[auth] does not work #13335

@garritschroeder0001

Description

@garritschroeder0001

Checklist

  • I have searched the existing issues for similar issues.
  • I added a very descriptive title to this issue.
  • I have provided sufficient information below to help reproduce this issue.

Summary

Hi,

we are using Microsoft Azure EntraID with our streamlit application. The team behind Authlib just release a new version 1.6.6 which does not seem to work with streamlit[auth]. By manually downgrading to version Authlib 1.6.5 the issue is resolved.

Reproducible Code Example

Steps To Reproduce

--- works ---
streamlit
streamlit_extras
Authlib==1.6.5 # TODO 1.6.6 has a bug with streamlit, upgrade when fixed

--- does not work ---
streamlit[auth]
streamlit_extras

Expected Behavior

No response

Current Behavior

Error Message:

400: "NoneType" object does not support item assignment

Is this a regression?

  • Yes, this used to work in a previous version.

Debug info

  • Streamlit version: streamlit-1.52.1-py3
  • Python version: 3.12.3
  • Operating System: Ubuntu
  • Browser: Chrome

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:dependenciesRelated to package dependenciesfeature:authenticationRelated to user authenticationfeature:st.loginRelated to `st.login` commandpriority:P1High priority - fix within two weeksstatus:confirmedBug has been confirmed by the Streamlit teamtype:bugSomething isn't working as expectedtype:regressionThis bug is a regression from previous behaviorupstreamIssue caused by upstream dependency

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions