[ https://issues.apache.org/jira/browse/SYNCOPE-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16076164#comment-16076164 ]
ASF subversion and git services commented on SYNCOPE-1149: ---------------------------------------------------------- Commit 22acb57e1543eb86c998f3b39e3209042922f390 in syncope's branch refs/heads/2_0_X from [~ilgrosso] [ https://git-wip-us.apache.org/repos/asf?p=syncope.git;h=22acb57 ] [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)