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

Error in Logout because of missing property in Auth0Client service registration #3

Open
aglasencnik opened this issue Sep 4, 2024 · 0 comments

Comments

@aglasencnik
Copy link

Logout throws an error because in the example there is a PostLogoutRedirectUri property missing!
How it should be:

builder.Services.AddSingleton(new Auth0Client(new()
{
    Domain = "<domain>",
    ClientId = "<client id>",
    Scope = "openid profile",
    RedirectUri = "myapp://callback",
    PostLogoutRedirectUri = "myapp://callback",
}));

How it is:

builder.Services.AddSingleton(new Auth0Client(new()
{
    Domain = "<domain>",
    ClientId = "<client id>",
    Scope = "openid profile",
    RedirectUri = "myapp://callback"
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant