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

Unable to login into XNAT #7

Open
kog18 opened this issue Nov 22, 2021 · 0 comments
Open

Unable to login into XNAT #7

kog18 opened this issue Nov 22, 2021 · 0 comments

Comments

@kog18
Copy link

kog18 commented Nov 22, 2021

Hi,

I'm testing the latest OpenID Authentication plugin, version 1.2 with XNAT 1.8.3 and I'm not able to make it log in to the XNAT. When I click the button to initiate the login, it takes me to out institutional authentication authority, I enter the credentials, see a message that authentication was successful and then get redirected to XNAT where the message is: "Your login attempt failed because the username and password combination you provided was invalid" and the login screen is displayed.

I double checked the configuration and re-read setup instructions. Still don't understand what I did wrong.

Could you please take a look and tell me what could be the reason for this plugin not working? Below is some log info and my configuration file.

Thank you,
Alex

In security.log I see the following message:
WARN org.nrg.xnat.security.XnatProviderManager - The provider ID openid is enabled, but the provider is not a visible provider

The configuration file looks like that:

auth.method=openid
type=openid
provider.id=openid
visible=true
auto.enabled=true
auto.verified=true
name=NUOpenID
disableUsernamePasswordLogin=false
enabled=nuauth
siteUrl=
preEstablishedRedirUri=/openid-login
openid.nuauth.clientId=
openid.nuauth.clientSecret=
openid.nuauth.accessTokenUri=/oauth2/access_token
openid.nuauth.userAuthUri=/oauth2/authorize
openid.nuauth.userInfoUri=/oauth2/userinfo
openid.nuauth.scopes=openid,profile,email
openid.nuauth.link=

To sign-in using your NU credentials, please click on the button below.


openid.nuauth.shouldFilterEmailDomains=false
openid.nuauth.allowedEmailDomains=redboxresearchdata.com.au
openid.nuauth.forceUserCreate=true
openid.nuauth.userAutoEnabled=false
openid.nuauth.userAutoVerified=false
openid.nuauth.emailProperty=email
openid.nuauth.givenNameProperty=given_name
openid.nuauth.familyNameProperty=family_name
openid.nuauth.pkceEnabled=true
openid.nuauth.usernamePattern=[providerId]-[sub]

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