-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Authentication Error #238
Comments
Hi, if you're just studying the first 5 chapters. In the program.cs code, you can refer to the following code
|
If you created the template yourself, all the pages under this path must exist. |
I am having a problem at the same step in the tutorial. In my case I am getting an unhandled error: |
As I started the BlazingPizza project completely from scratch and in 06-authentication-and-authorization I received the same error as gclee46 commented on Jun 6. In my case in the BlazingPizza.Server project the OidcConfigurationController was missing. public class OidcConfigurationController : Controller
|
I had the same issue, I only get "..." instead of a login control. I added this attribute to the OrderContext class in the BlazingPizza.Shared project: Now it works for me. |
* Shared lib updated with Nullable context. Partially fixes issue #105. * Server updated with Nullable context. Partially fixes issue #105. * Razor projects updated with Nullable context. Partially fixes issue #105. * 01 updated with Nullable context, including instructions (md). Partially fixes issue #105. * Updated 02. Dependencies to use Nullable * Updated code to include nullable considerations. * Updated instructions to align with nullable. * Updated dependencies to use nullable context * Fixes issue #358 and Fixes issue #238 * Sync with previous lesson * Removed guard on GetUserId to allow workshop to flow without authorization. * Sync changes across lessons * Updated 03 with nullability context * Updated instructions with nullable code * Cleanup whitespace * Sync dependencies 04 with previous steps * Fixed: Starting point 04's server code was actually from a later step 06 or above. * Sync 04 client changes with previous steps * Updated client with nullable context enabled * Sync dependencies 05 with previous changes * Fixed step 05 controller is from step 06 * Sync with client with previous step * Updated 05 with nullable context enabled * Sync with previous steps * Updated 06 with nullable context enabled. * Synced dependencies with previous lesson * Sync client changes with previous step * Updated 07 with nullable context enabled * Synced dependencies with previous step * Synced client with previous lesson * Updated 08 with nullable conetext enabled * Sync with prevous lesson * Updated 09 with nullable context enabled * Updated src with nullable context enabled * Updated docs * Notification interop doesn't work with required. * Extra sln file * Fixed link that moved for getting started * Removed extra comments. * Clairified the message about EditorRequired. * Trimmed whitespace * Supressed nullable warning on change event * Added EditorRequired to step * Refactored GetUserId. This code was duplicated in multiple places. * Updated `!=` to `is not` null * Fixes: SignoutSessionStateManager obsolete warning. See: https://learn.microsoft.com/en-us/dotnet/core/compatibility/aspnet-core/7.0/wasm-app-authentication * Added Nullable to orderWithStatus * Updated Razor Class Library verbage, it was reminicent of .NET Core 3.0/3.1 * Changed `!=` to `is not null` * The app was updated to include a Minimal API implementation of NotificationsController. However the code in save-point/09 and instructions were not updated. This fixes the issue. * Pulling up some missed changes from the final exercise * Removed unused NavigationManager references * Updated code on Map component
Need a little help. As I'm following through the tutorial and testing the first time the ability to Register or Login in I'm not getting the buttons to register or login option. It's going straight to the display of "..." which is classified as Authorizing from the LoginDisplay.razor page..
I have this in my Main function in the Programs page and it compiles and runs but goes straight to instead of .
builder.Services.AddApiAuthorization();
When I replace the above code with the following code I found in newer releases of the source code I can't run it because the top line throws me an error. (AddRemoteAuthentication)
I believe, but don't know for sure, that this may be the culprit of my error.
Thanks.
Scott
The text was updated successfully, but these errors were encountered: