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

Migrate whoami route to Axum router with authentication middleware #564

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

niamu
Copy link
Contributor

@niamu niamu commented Sep 9, 2023

Continuing the Axum router migration work outlined here: #548

This PR migrates the /api/v1/auth/whoami route and implements Axum middleware for authentication in core::with_auth.

@mental32 mental32 force-pushed the axum_auth_middleware branch from 41e07e8 to a35d686 Compare November 7, 2023 09:54
@mental32 mental32 merged commit 6689aad into Dusk-Labs:master Nov 7, 2023
@mental32
Copy link
Collaborator

mental32 commented Nov 7, 2023

Took a look at the diff and built on my machine (M2), no real complaints :) This is an awesome PR. Thanks!

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.

2 participants