Skip to content

Entra External ID for Customers with Streamlit App #133

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mirojs opened this issue Feb 22, 2024 · 3 comments
Open

Entra External ID for Customers with Streamlit App #133

mirojs opened this issue Feb 22, 2024 · 3 comments

Comments

@mirojs
Copy link

mirojs commented Feb 22, 2024

Hello,

I'm trying to Authenticate/Authorize my Azure deployed Web App built by Streamlit with Entra External ID for Customers. May I know if I could benefit from the repo? Any part that could be borrowed? Besides, there doesn't seem to be a dedicated repo for the Entra External ID for customers.Thanks!

@SHERMANOUKO
Copy link

SHERMANOUKO commented Feb 22, 2024

@mirojs you'll need to configure the authority to an Entra External ID one. You do this in your environment file.

Here's what you should do:

  • Set the value of CLIENT_ID to the application ID (clientId) of the app you registered in the Microsoft Entra admin center.
  • Set the value of CLIENT_SECRET to the client secret value of the secret you created when registering app in Entra Admin center.
  • Set the value of AUTHORITY to the URL to your customer tenant's domain. For example, if your tenant primary domain is [email protected], the value you should enter is https://caseyjensen.ciamlogin.com/.

We are working on the Python content for Entra External ID. It should be ready sometime next week.

@mirojs
Copy link
Author

mirojs commented Feb 23, 2024

@SHERMANOUKO Thanks for the details! Would the following part be the same whether it's Azure AD B2C or Entra External ID for customers?
SIGNUPSIGNIN_USER_FLOW=B2C_1_signupsignin1
EDITPROFILE_USER_FLOW=B2C_1_profile_editing
RESETPASSWORD_USER_FLOW=B2C_1_reset_password

Would it be the case there's no real difference between the above mentioned two b2c auth methods from coding perspective except the name itself?

@SHERMANOUKO
Copy link

@mirojs we dont use those values for Entra External ID. You dont need them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants