Skip to main content

Python package to use a login with Azure AD

Project description

streamlit-azure-ad-login

This is a React login component that help you check coonect to an endpoint that make the authentication with Azure Active Director and return the proper token.
This aproach is because the Active Directory authentication requires a lot of certifications that depends on each project.

The component allows you to personalize the following parameters:

  • header_text: Text that will apear on the header of the login component
  • authentication_endpoint_url: The active directory url to send the credentials and return the token
  • logo_uri: a URI with the image of your company
  • prefix: If you have a prefix for the login, here is where it goes

How to use it

from streamlit_azure_login import login_component

token = login_component(
    header_text='Your Company Name, 
    authentication_endpoint_url='https://azure.microsoft.com/en-us/services/active-directory/', 
    logo_uri='https://intercement.com/wp-content/uploads/2019/04/INTERCEMENT.jpg',
    prefix=''
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

streamlit-azure-ad-login-0.1.1.tar.gz (644.3 kB view hashes)

Uploaded Source

Built Distribution

streamlit_azure_ad_login-0.1.1-py3-none-any.whl (653.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page