Skip to content

Issues trying to get the AddSteam command to work with .NET 7 Angular SPA template #141

@Naliath

Description

@Naliath

Describe the bug
Unable to add steam auth to ASP.NET 7 + Angular app

Steps To reproduce
dotnet new angular, add package. Next manual step add a new lib with the steam code

Expected behaviour
I would exect the AddSteam extension method to be available but it is not. When I manually add the project to get the extension method available I would assume the callback is registered and available to be called and create a valid user identity

EDIT: I see that there is a *.Steam package available from the myget feed, that explains that part of the problem

Actual behaviour
Callback does not get called, seems like the route is not available to be called. Identity server that is provided out of the box with the template does list the external provider but I can not seem to get the correct user identity to be created. Sign-in goes just fine to Steam but as soon it should go back to the app callback no joy... All I feel I need to do is register the callback route so ASP can deal with it but I can't figure out how.

Is this just something that is not possible in this fashion? At first glance it looks real easy but I have been cursing this thing for hours now. There is 0 usefull errors in the front-end nor the back-end, I have no clue where to start to get it registered correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions