You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2017/07/05 10:21:00 UTC
[jira] [Resolved] (SYNCOPE-1149) Access token still required for
the third party JWT SSO integration scenario
[ https://issues.apache.org/jira/browse/SYNCOPE-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Chicchiriccò resolved SYNCOPE-1149.
---------------------------------------------
Resolution: Fixed
> 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)