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

I can get automaticaly to the first page, i always get the callback url #7

Closed
Frenchy75 opened this issue Jul 15, 2022 · 6 comments
Closed

Comments

@Frenchy75
Copy link

When I browse the storage web endpoint, my browser show the call back with the token in the URL, I then have to change the url to the endpoint so I can access the viewer.

@StevenBorg
Copy link

@Frenchy75, I'm seeing that, too. Looks like there's a repeatable bug in the way OHIF handles redirection... we think. Or it could be in our configuration somewhere. We're looking into it, because it's a pain and doesn't lend much confidence to the solution. :-)

@smithago
Copy link
Contributor

I have created a bug for ohif OHIF/Viewers#2850

@smithago
Copy link
Contributor

Worksaround is to remove the callbackurl and retry again.

@abymmathew-mli
Copy link

For me, it was stemming from the fact that it's (OIDC client) using the token_id to extract the bearer token. Hence in the configuration, we need to add

response_type: 'token id_token', // "implicit"
loadUserInfo: false

@alphacentauridigital
Copy link

Hello,

We have integrated the OHIF viewer with the angular app. When we try to open the viewer using the link to open in a new tab. Even though the user is logged in to OHIF viewer once. It always redirects to the callback URL with a token as a query parameter. After inspecting cookies, even though OHIF viewer is preserving redirect URLs in cookies. It is not being used.

Tried abymmathew's solution but didn't work.

Has someone resolved this issue?

Regards

@smithago
Copy link
Contributor

We updated the OHIF viewer deployed from this repo and the issue is resolved now

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

5 participants