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

offender images api authentication #134

Open
steveoh opened this issue Feb 9, 2021 · 1 comment
Open

offender images api authentication #134

steveoh opened this issue Feb 9, 2021 · 1 comment
Labels
⚰️ wontfix This will not be worked on

Comments

@steveoh
Copy link
Member

steveoh commented Feb 9, 2021

Running the offender test website on test.mapserv.utah.gov/app causes an issue with the JAAS security from the DOC api for retrieving images.

We are running in a reverse proxy scenario to allow agents view photos without another login prompt. The DOC api returns a 302 (redirect) with some query string credentials to create a JSESSION cookie which we aren't using. The redirect for the JSESSION when on the /app slug does not read and use the x-forwarded-for headers added by the proxy and append the /app to the redirect url. Therefore the final security step to get the offender image fails with a 404 (not found).

Since we cannot get time with Trevor to debug this issue for a few weeks time, it might have to continue to be an issue until we are using a top level production domain.

@steveoh steveoh added the ⚰️ wontfix This will not be worked on label Feb 9, 2021
@nathankota
Copy link

@steveoh are we okay to close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚰️ wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants