stack icon indicating copy to clipboard operation
stack copied to clipboard

Hosted UI / Self-Contained Deployment

Open maxkolb opened this issue 11 months ago • 3 comments

Hi 👋🏼

for ages I was looking for an appropriate Keycloak/Auth0 replacement, as both of those options are too complex sometimes and feel dated tachnology-wise. Stack Auth looks pretty promising!

I was wondering if there are any plans on providing a completely self-contained solution (especially including a hosted login flow). I think this would really make it an Auth0, Keycloak, etc. replacement. Currently, with really only Nextjs support, coverage is quite limited and hard to add to existing projects that build upon Auth0‘s hosted solutions.

Thanks and all the best, Max

maxkolb avatar Feb 05 '25 17:02 maxkolb

Hi, what other framework support are you looking for? For hosted login flow, we do have plans to become an OIDC compliment identity provider

fomalhautb avatar Feb 13 '25 18:02 fomalhautb

Jumping in on this issue, also similar to https://github.com/stack-auth/stack-auth/issues/378. Something that can be tested with OpenID Connect Playground.

OIDC Client ID could be Project ID and OIDC Client Secret could be generated and shown in Project Settings.

Then with that capability it could be used within an ASP.NET Core project with the following configuration:

.AddOpenIdConnect(openIdConnectOptions => 
{
    openIdConnectOptions.SignInScheme = IdentityConstants.ExternalScheme;
    openIdConnectOptions.ResponseType = OpenIdConnectResponseType.Code;
    openIdConnectOptions.ClientId = "b59447fe-2f5e-4647-b2d7-5d0efd96ae75";
    openIdConnectOptions.MetadataAddress = "https://app.stack-auth.com/.well-known/openid-configuration";
})

baruba-cons avatar Mar 08 '25 01:03 baruba-cons