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

Secure ASP.NET Core Web API using API Key Authentication #37

Closed
chuki2 opened this issue Jul 10, 2021 · 2 comments
Closed

Secure ASP.NET Core Web API using API Key Authentication #37

chuki2 opened this issue Jul 10, 2021 · 2 comments

Comments

@chuki2
Copy link

chuki2 commented Jul 10, 2021

Hi, instead of generate token by authenticate using email and password. Any idea how to implement API Key with in your clean architecture?

@iayti
Copy link
Owner

iayti commented Jul 11, 2021

Hi,

I added the API Key for the JWT token example. If you are using the theme while developing a monolith application, you will need Login/Register. If you are using it for microservice architectures, Login will not be needed. You can use the proper external token directly.

Here's what I plan to add and change in the future

  • I plan to remove Identity Server. Change IS4 to openiddict or add manually
  • Client.WorkerService project to Blazor WebUI

@chuki2
Copy link
Author

chuki2 commented Aug 3, 2021

Ok great, solved my issues. I use the redis so I can terminate the token anytime.

@chuki2 chuki2 closed this as completed Aug 3, 2021
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

2 participants