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

External Login (Shibboleth and EntraId) often fails to load correctly #85

Open
wwelling opened this issue Jun 10, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@wwelling
Copy link

wwelling commented Jun 10, 2024

After logging in through an identity provider the UI errors. It appears to be a race condition.

This is rendered in the login model:
undefined doesn't contain the link authn

There are errors in the console:

main.f7193ce80585402a.js:1 
 No _links section found at https://oaktrust-pre.library.tamu.edu/server/api

Error: undefined doesn't contain the link authn
    at main.f7193ce80585402a.js:1:538685
    at main.f7193ce80585402a.js:1:2944996
    at l._next (main.f7193ce80585402a.js:1:2941016)
    at l.next (main.f7193ce80585402a.js:1:2929816)
    at main.f7193ce80585402a.js:1:2944989
    at l._next (main.f7193ce80585402a.js:1:2941016)
    at l.next (main.f7193ce80585402a.js:1:2929816)
    at main.f7193ce80585402a.js:1:2949271
    at l._next (main.f7193ce80585402a.js:1:2941016)
    at l.next (main.f7193ce80585402a.js:1:2929816)

It occurs regularly enough and requires a page refresh to function correctly.

@wwelling wwelling added the bug Something isn't working label Jun 10, 2024
@wwelling wwelling changed the title External Login (Shibboleth and EntraId) sporadically fails to load correctly External Login (Shibboleth and EntraId) often fails to load UI correctly Jun 10, 2024
@wwelling wwelling changed the title External Login (Shibboleth and EntraId) often fails to load UI correctly External Login (Shibboleth and EntraId) often fails to load correctly Jun 10, 2024
@JamesS-TAMU
Copy link

Just to provide some additional info:

I've experienced this undefined doesn't contain the link authn randomly with either/both oaktrust dev and oaktrust pre when logging in using either OIDC or Shib. Sometimes refreshing, trying in Chrome incognito or Edge InPrivate would work, other times not. And sometimes login would work on oaktrust dev but at the same time not on oaktrust pre or vice versa. The two shibboleth service providers and their virtual host configs are also identical (besides the URL). So I had always thought it was due to cookie/cache.

It seems to also behave a bit differently when you're connect VPN or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants