[
https://issues.apache.org/jira/browse/SYNCOPE-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16076165#comment-16076165
]
ASF subversion and git services commented on SYNCOPE-1149:
----------------------------------------------------------
Commit d4cd448427ea2a147296159fd70712ead0a42a69 in syncope's branch
refs/heads/master from [~ilgrosso]
[ https://git-wip-us.apache.org/repos/asf?p=syncope.git;h=d4cd448 ]
[SYNCOPE-1149] Simplify
> Access token still required for the third party JWT SSO integration scenario
> ----------------------------------------------------------------------------
>
> Key: SYNCOPE-1149
> URL: https://issues.apache.org/jira/browse/SYNCOPE-1149
> Project: Syncope
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.4
> Reporter: Colm O hEigeartaigh
> Assignee: Francesco Chicchiriccò
> Fix For: 2.0.5, 2.1.0
>
>
> When trying to invoke on Syncope with a third-party JWT, the code in
> [AuthDataAccessor#authenticate|https://github.com/apache/syncope/blob/syncope-2.0.4/core/spring/src/main/java/org/apache/syncope/core/spring/security/AuthDataAccessor.java#L390-L394]
> still errors if no access token is found:
> {code}
> AccessToken accessToken =
> accessTokenDAO.find(authentication.getClaims().getTokenId());
> if (accessToken == null) {
> throw new AuthenticationCredentialsNotFoundException(
> "Could not find JWT " +
> authentication.getClaims().getTokenId());
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)