Issue in Redirection

Open
#3,099 11 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
java

Research direction

Start by reproducing the redirect behavior with ./gradlew run, comparing localhost and the IP address using the local LDAP setup described in the UAA README. Review the reported zones and require_https settings; the issue is resolved when IP access reaches the expected redirect page instead of returning to the login screen.

Written by the indexing model from the issue text.

Description

What version of UAA are you running?

77.17.0

How are you deploying the UAA?

I am deploying the UAA locally only using gradlew
./gradlew run

with the default details provided on uaa:
https://github.com/cloudfoundry/uaa/?tab=readme-ov-file#connecting-uaa-to-local-ldap-server

What did you do?

Accessing UAA with localhost as well with IP address

What did you expect to see? What goal are you trying to achieve with the UAA?

The redirect page should appear when accessing UAA with IP address. Its redirecting fine with accessing with localhost but when accessing it with IP address its routing back to login screen.. Screenshot when accessing with localhost is attached.
Screenshot 2024-10-28 175003

What did you see instead?

Login page again

What I have tried:

Adding zones:
zones:
internal:
hostnames:
- 192.168.x.x

Setting require https false:
require_https: false

What issue it causes at my end:

The issue arise when I took an update from github almost after 3+ years. The UI we are using was perfectly working with the UAA we had earlier. Soon after I upgraded, the redirection stopped working with all the configurations we were using earlier. Although we have reverted back the deployment but we still need to upgrade it. Any help on this would be highly appreciated.

Dominant language
Java
Stars
1.6k
Forks
847
Avg merge
2d 1h
Merged PRs (30d)
48

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudfoundry/uaa

All issues in cloudfoundry/uaa

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.