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

WeatherBot contains bug for Audience variable in AspNetExtensions.cs #19

Closed
MCKRUZ opened this issue Jan 2, 2025 · 1 comment
Closed
Assignees

Comments

@MCKRUZ
Copy link

MCKRUZ commented Jan 2, 2025

Version

What package version of the SDK are you using.
I am using the latest version of the downloaded code as of 1/2/2025

Describe the bug
A clear and concise description of what the bug is.
In the WeatherBot example there is a bug in the AspNetExtensions.cs file on line 88 where it says

string audience = tokenValidationSection["Audience"];

With the given appsettings.json and the given README.md this leads the user to believe that there should be a variable in the TokenValidation section called "Audience", when in fact there is a list variable called "Audiences" and therefore this produces an error.

To Reproduce
How can we reproduce this error?

Simply try and run the code.

@MCKRUZ MCKRUZ added the triage Initial state for our team to determine nessessary action label Jan 2, 2025
@tracyboehrer tracyboehrer self-assigned this Jan 7, 2025
@tracyboehrer tracyboehrer removed the triage Initial state for our team to determine nessessary action label Jan 7, 2025
@tracyboehrer
Copy link
Member

@MCKRUZ This has already been corrected and will be included in the next update.

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