Activities of "bertancakici"

๐Ÿ“Œ Description

I am working with ABP Suite 9.2.1 and an ABP Commercial (Pro) project (latest version).

My solution consists of two separately deployed applications:

Auth Server / Admin Web

Public Web site

I want to use the Public Web application with its own UI, but still use ABPโ€™s Account module and OpenIddict-based authentication.

What I want to achieve

Users should be able to register and log in from the Public site

After login, the user should be authenticated in the Public site

ICurrentUser should be populated

UI elements (Login / Profile / Logout) should change based on authentication state

โœ… What works

Registration from the Public site works successfully

User is created in the database

Account module pages are accessible

Auth Server works correctly on the Admin/Web side

โŒ What does NOT work

After registering, login does not authenticate the user

Login page opens, credentials are accepted, but:

Authentication cookie is not created or

ICurrentUser.IsAuthenticated is always false in Public Web

Header UI always shows โ€œLoginโ€ instead of user info

ICurrentUser is always empty in Razor views

๐Ÿงช Steps to Reproduce

Create an ABP Commercial solution with ABP Suite 9.2.1

Enable Account Public Web and OpenIddict

Deploy:

Auth Server on: https://localhost:44349

Public Web on: https://localhost:44387

Configure Public Web to use Auth Server as Authority

Register a new user from Public Web

Try to log in from Public Web

Observe that login does not result in an authenticated user

Public Web and Auth Server are NOT the same application

Client is registered in OpenIddict

Using Authorization Code flow

โ“ Question

I followed the Account module and Public Web authentication examples, but login still does not work correctly.

What am I missing to properly enable authentication & authorization in the Public Web application?

Specifically:

Is there any additional configuration required for Public Web?

Should OpenIdConnect be manually configured?

Is there a recommended way to share authentication between Admin/Auth Server and Public Web?

Is there an official sample for separate Public Web authentication?

โ„น๏ธ Additional Info

ABP Suite: 9.2.1

ABP Commercial: Latest

UI: MVC / Razor

Authentication: OpenIddict

Deployment: Separate Public Web & Auth Server

Why (ICurentUser) CurentUser in page is null.

Showing 1 to 1 of 1 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with โค๏ธ on ABP v10.2.0-preview. Updated on February 05, 2026, 13:24
1
ABP Assistant
๐Ÿ” You need to be logged in to use the chatbot. Please log in first.