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

XNAT admin interface bugs #5

Open
jmz-b opened this issue Aug 18, 2020 · 0 comments
Open

XNAT admin interface bugs #5

jmz-b opened this issue Aug 18, 2020 · 0 comments

Comments

@jmz-b
Copy link

jmz-b commented Aug 18, 2020

Hey I am experiencing some issues with this plugin on a fresh XNAT 1.7.6. There is some strange behavior in the XNAT admin interface.

I am using Keycloak as the openid connect provider. bellow is my config:

auth.method=openid
type=openid
provider.id=openid
visible=true
auto.enabled=true
auto.verified=true
name=OpenID Authentication Provider
disableUsernamePasswordLogin=false
enabled=keycloak
siteUrl=http://localhost/xnat/
preEstablishedRedirUri=/openid-login
openid.keycloak.clientId=xnat
openid.keycloak.clientSecret=
openid.keycloak.accessTokenUri=http://keycloak:8080/auth/realms/snet/protocol/openid-connect/token
openid.keycloak.userAuthUri=http://keycloak:8080/auth/realms/snet/protocol/openid-connect/auth
openid.keycloak.scopes=openid,profile,email
openid.keycloak.link=<p>To sign-in using your Keycloak credentials, please click on the button below.</p></p><p><a href="/xnat/openid-login?providerId=keycloak">Sign-in with Keycloak</a></p>
openid.keycloak.shouldFilterEmailDomains=false
openid.keycloak.forceUserCreate=true
openid.keycloak.userAutoEnabled=false
openid.keycloak.userAutoVerified=false
openid.keycloak.emailProperty=email
openid.keycloak.givenNameProperty=given_name
openid.keycloak.familyNameProperty=family_name

I have set up a test project and added my keycloak user as an Owner

Screenshot from 2020-08-18 10-12-09

When logged in as this user, the project and it's recent activity appear on the home page:

Screenshot from 2020-08-18 10-12-30

However clicking the project name reveals an access denied message

Screenshot from 2020-08-18 09-32-30

But if I click the session name, I can actually access the session and scan data:

Screenshot from 2020-08-18 10-19-09

If I go a Session, then use the breadcrumb links at the top to navigate to the Subject page, it is also broken (Note the experiment name displays as a Velocity Template function call)

Screenshot from 2020-08-18 10-22-03

These thing make me think that there is probably an incompatibility between this plugin and XNAT 1.7.6's Velocity templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant