You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat!: change token management for users to be outside the scope of the lib.
BREAKING CHANGE:
Use Services.AddHttpClient("AuthClient", (sp, httpClient) => ...).AddUserAccessTokenHandler(); or any other kinds of token management, and then use "AuthClient" to inform lib which client it should use.
CgScriptOptions.Site is no longer used. Set the BaseAddress of the httpClient in the above config to decide which site to call.
You can find the CookieOidcRefresher [here](https://github.com/dotnet/blazor-samples/blob/main/9.0/BlazorWebAppOidc/BlazorWebAppOidc/CookieOidcRefresher.cs).
0 commit comments