<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D5WR00001PRfGx0ALOkta Identity EngineWorkflowsAnswered2026-03-31T17:41:28.000Z2026-03-08T17:02:57.000Z2026-03-31T17:41:28.000Z

LucaC.94005 (Customer) asked a question.

Blazor Server app with Okta authentication: OIDC authentication issue

Good morning.

I'm developing a Blazor Server application that requires Okta authentication.

Although I've followed all the instructions, after authentication I still receive the following error message: "OpenIdConnectAuthenticationHandler: message.State is null or empty."

The application runs in https, cross-origin third-party cookies are enabled, and the application settings on the Okta website are consistent with the application code.

Has anyone encountered and solved this problem?


This question is closed.
Loading
Blazor Server app with Okta authentication: OIDC authentication issue
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply