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

Strange Arc4u exceptions when logging in to a Blazor application #41

Open
vvdb-architecture opened this issue Oct 12, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@vvdb-architecture
Copy link
Contributor

vvdb-architecture commented Oct 12, 2022

With a Blazor application generated by the latest guidance, the browser console reports the follwoing:

fail: Arc4u.OAuth2.Client.Security.Principal.AppPrincipalFactory[0]
System.NullReferenceException: Object reference not set to an instance of an object.
at Arc4u.Caching.SecureCache.Put[List1](String key, List1 value)
at Arc4u.OAuth2.Client.Security.Principal.AppPrincipalFactory.SaveClaimsToCache(IEnumerable`1 claims)

The login proceeds normally, but this should not happen.

This occurs only on deployed environments, not on localhost.

@vvdb-architecture vvdb-architecture changed the title Strange Arc4u exceptions when loggin in to a Blazor application Strange Arc4u exceptions when logging in to a Blazor application Oct 12, 2022
@rdarko rdarko added the bug Something isn't working label Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants