Skip to content
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

⭐ [Enhancement]: Add authentication.provider synonyms. #2407

Open
3 tasks
JerryNixon opened this issue Oct 4, 2024 · 3 comments
Open
3 tasks

⭐ [Enhancement]: Add authentication.provider synonyms. #2407

JerryNixon opened this issue Oct 4, 2024 · 3 comments

Comments

@JerryNixon
Copy link
Contributor

JerryNixon commented Oct 4, 2024

Update runtime.host.authentication.provider with synonyms for future planning.

These are already accounted for in the application_name specification.

Values

Current New Synonyms
StaticWebApp None
AppService
AzureAd EntraId, OAuth
Simulator

Tasks

  • Create synonyms
  • Ensure application_name compatibility
  • Update documentation

None

Some Data API implementations don't require any security at all. There is no option for None, although StaticWebApp handles this in most cases. The truth is, this is slightly more like Simulator except it behaves the opposite—Simulator treats everything as authenticated but none will treat everything as anonymous.

EntraId

Azure Active Directory was renamed to Microsoft Entra Identity. We will retain the previous AzureAd moniker for backward compatibility, but it will be marked as deprecated in the documentation once this synonym is available.

OAuth

Currently, AzureAd is just a simple OAuth implementation, and any custom JWT implementation can use it to handle claims. However, it’s far from ideal to make customers choose AzureAd or EntraId when their underlying authentication technology is not from Microsoft. This also opens up a future direction should we need to handle special cases with EntraId.

@abhishekkumams
Copy link
Contributor

Introducing synonyms like EntraId and OAuth definitly provides flexibility, also it sounds more intuitive.

Some Questions:

  1. @seantleonard , what complexities does it add in the underlying implementation?
  2. do we plan to completely deprecate AzureAd in future?
  3. Can you add some more explaination on None being similar to Simulator but treated as authenticated?

@JerryNixon
Copy link
Contributor Author

JerryNixon commented Oct 7, 2024

Do we plan to completely deprecate AzureAd in future?

Deprecate? Yes. Remove? Probably not. @abhishekkumams

Can you add some more explanation?

Typo corrected: none will treat everything as anonymous.

@JerryNixon
Copy link
Contributor Author

JerryNixon commented Oct 7, 2024

Should permissions:* be optional in an entity? Or at least defaulted?

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