You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Hemanth Yamijala (JIRA)" <ji...@apache.org> on 2018/09/21 11:02:00 UTC

[jira] [Commented] (KNOX-1355) Knox not honoring originalUrl when pac4j federation is used

    [ https://issues.apache.org/jira/browse/KNOX-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16623411#comment-16623411 ] 

Hemanth Yamijala commented on KNOX-1355:
----------------------------------------

[~lmccay] - would it be possible to merge this into the next release of Knox if you are fine with [~dipayanb]'s patch? We would like this for extending the way in which we use Knox in our application.

> Knox not honoring originalUrl when pac4j federation is used
> -----------------------------------------------------------
>
>                 Key: KNOX-1355
>                 URL: https://issues.apache.org/jira/browse/KNOX-1355
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: KnoxSSO
>            Reporter: DIPAYAN BHOWMICK
>            Priority: Major
>             Fix For: 1.2.0
>
>         Attachments: knox_fix_for_dp_keycloak.patch, knoxsso.xml, sequence_diagram.txt
>
>
> I wanted to integrate Keycloak as the IdP provider for Knox using the pack4j federation in Dataplane. This is for an SSO scenario and not Knox Gateway proxy. So, requested to gateway/knoxsso/api/v1/websso?originalUrl=https://dataplane.
> After, the redirection happens to Keycloak and successful authentication knox rather than returning to the requested original URL, it is redirecting to the original requestedURL (ie. gateway/knoxsso/api/v1/websso?originalUrl=https://dataplane)
> The complete Sequence diagram is attached. [^sequence_diagram.txt]
> Also, knoxsso.xml is attached as an example. [^knoxsso.xml]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)