aws-samples / bedrock-claude-chat

AWS-native chatbot using Bedrock + Claude (+Mistral)
MIT No Attribution
784 stars 284 forks source link

[Feature Request] Auth setting to limit sign-ups to certain domains #173

Closed kennell closed 4 months ago

kennell commented 5 months ago

Describe the solution you'd like The option to only allow sign-ups from email addresses associated with certain domains. Example: only allow users with a email address ending in @example.com to sign-up

Why the solution needed Restricting access by IP is not always feasible/convenient

Additional context Most likely this would be a setting in the auth.ts file?

statefb commented 5 months ago

Possible solution:
https://www.cloudtechsimplified.com/allow-restrict-users-specific-domains-aws-cognito/