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 Identity Management with JWT tokens #10

Open
VR-Architect opened this issue Aug 27, 2022 · 0 comments
Open

✨ Add Identity Management with JWT tokens #10

VR-Architect opened this issue Aug 27, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@VR-Architect
Copy link

I added Microsoft Identity to my API with a controller to handle user login which sends back a token to the UI frontends. The same controller also handles logout, registration, and get user claims methods.

On the front ends is tricky to find secure ways to save the JWT token and prevent JWT forgeries, so I am still working on that. Yah, Identity Server 4 now Duende is an option, but I never figured out how to get the usernames to appear in the API controllers. I kept getting the client identity instead. So gave up. Also tried Auth0 and MS Azure with same issues. The API has to know the identity of the actual user calling the API and not the client some how. So I rolled my own.

@VR-Architect VR-Architect added the enhancement New feature or request label Aug 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants