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
Release history Release notifications | RSS feed
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.0.tar.gz
(644.3 kB
view hashes)
Built Distribution
Close
Hashes for streamlit-azure-ad-login-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1544cb0ed9457326836e7d8e6fe0584af20b6f58b2f504f15e58dcf49cf25ae |
|
MD5 | 6b0156cee962e920c0fea14aed46103e |
|
BLAKE2b-256 | aad9231a9c344c0d20047d47cc10d95273c816d8497774a2a3c1746523152395 |
Close
Hashes for streamlit_azure_ad_login-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20da616b8a34f8e7fe27597f68040af05471fc446ce10595163905f70b6603e8 |
|
MD5 | 9f06993aa72720d62aaa6967b8ea47f9 |
|
BLAKE2b-256 | 077179632811c606ef4db03ad2ed24db374179f6c430fff713eb7b7e807d94b4 |