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

Add method to use Auth0 authentication #21

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from

Conversation

micheletolve
Copy link

Added a contribution with the basic Auth0 authentication system.
If you want to change auth0 settings you can create a new API from the Auth0 Dashboard.

@marcominerva marcominerva linked an issue Jun 7, 2022 that may be closed by this pull request
samples/SimpleAuthentication.WebApi/appsettings.json Outdated Show resolved Hide resolved
src/SimpleAuthentication/Auth0/Auth0Service.cs Outdated Show resolved Hide resolved
src/SimpleAuthentication/Auth0/Auth0Service.cs Outdated Show resolved Hide resolved
src/SimpleAuthentication/Auth0/Auth0Service.cs Outdated Show resolved Hide resolved
src/SimpleAuthentication/Auth0/Auth0Service.cs Outdated Show resolved Hide resolved
src/SimpleAuthentication/Auth0/Auth0Service.cs Outdated Show resolved Hide resolved
src/SimpleAuthentication/Auth0/Auth0Service.cs Outdated Show resolved Hide resolved
Removed the personal access data from the file settings
Now the value for the request content not is hard-coded and use the HttpClientFactory to create a typed client.
Fixed code, now use LoginResponse because the information about the expiration and else is inside the token.
@micheletolve
Copy link
Author

Hi @marcominerva I fixed the code from your required changes, only one we could see it together and it would be token validation.

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

Successfully merging this pull request may close these issues.

Add authentication with Auth0
2 participants