blazor-server-aad-sample icon indicating copy to clipboard operation
blazor-server-aad-sample copied to clipboard

Initialize TokenProvider in _Host.cshtml?

Open MichelJansson opened this issue 5 years ago • 1 comments

Why can we not just inject and initialize the TokenProvider in _Host.cshtml directly? What is the reason for doing all the extra work with the InitialApplicationState class?

Thanks.

MichelJansson avatar May 01 '20 18:05 MichelJansson

I don't know why it is like this but I've changed all references from InitialApplicationState to TokenProvider and it still works the same.

ataraxia89 avatar Sep 21 '21 11:09 ataraxia89