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

feat: [SRTP-230] extract subject from access token #62

Merged
merged 12 commits into from
Jan 31, 2025
Prev Previous commit
Next Next commit
fix issue
lucaconsalvi committed Jan 31, 2025
commit fb49cf24bae455ec1275190f9c6bd92db6ed0515
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

public final class ExtractTokenInfo {

private ExtractTokenInfo(){};
private ExtractTokenInfo(){}

public static Mono<String> getTokenSubject() {
return ReactiveSecurityContextHolder.getContext().map(ctx -> ctx.getAuthentication())