Angular .net core JWT Token


#1

Good morning - Looking for some guidance as I’m pretty new to Okta.
i’m authenticating through angular and getting access token just fine. My backend is .net core.

My question: Once I login via okta, do I need to manually call a .net api endpoint to set the token server side or should services.addAuthentication().AddJwtBearer() handle that automatically? Thanks for your help!

        services.AddAuthentication(options =>
        {
            options.DefaultScheme = JwtBearerDefaults.AuthenticationScheme;
            options.DefaultChallengeScheme = JwtBearerDefaults.AuthenticationScheme;
        }).AddJwtBearer(options =>
        {
            options.Authority = "https://dev-445113.oktapreview.com/oauth2/default";
            options.Audience = "api://default";
            options.RequireHttpsMetadata = false;
            options.SaveToken = true;
            
            };

        });