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

Add JWT validation: Authentication and Authorization #11

Open
dsanchor opened this issue Feb 13, 2023 · 2 comments
Open

Add JWT validation: Authentication and Authorization #11

dsanchor opened this issue Feb 13, 2023 · 2 comments
Assignees
Labels
apis documentation Improvements or additions to documentation

Comments

@dsanchor
Copy link
Owner

dsanchor commented Feb 13, 2023

Add documentation and automation to validate scenarios where JWT authentication may be required. Also, select one that include roles authorization as well.

@dsanchor dsanchor converted this from a draft issue Feb 13, 2023
@dsanchor dsanchor added apis documentation Improvements or additions to documentation labels Feb 13, 2023
@davihern davihern moved this from 📋 Backlog to 🏗 In progress in APIM demo Mar 8, 2023
@davihern davihern moved this from 🏗 In progress to 👀 In review in APIM demo Mar 8, 2023
@dsanchor dsanchor moved this from 👀 In review to 🏗 In progress in APIM demo Mar 10, 2023
@dsanchor
Copy link
Owner Author

    <validate-jwt header-name="Authorization" failed-validation-httpcode="401" failed-validation-error-message="Token validation failed">
        <openid-config url="https://login.microsoftonline.com/INSERT-AZURE-AAD-TENANT-GUID/.well-known/openid-configuration" />
        <audiences>
            <audience>api://csa-apimdemo-appuri</audience>
        </audiences>
    </validate-jwt>

@dsanchor
Copy link
Owner Author

Also, consider a way to parameterized/externalized INSERT-AZURE-AAD-TENANT-GUID, so it can be replaced in action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apis documentation Improvements or additions to documentation
Projects
Status: 🏗 In progress
Development

Successfully merging a pull request may close this issue.

2 participants