Issuer URL is reported wrong in /.well-known/openid-configuration

Open
#805 12 comments 3 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java

Research direction

Reproduce the issue with the documented curl request against /.well-known/openid-configuration and review the issuer value configured in uaa.yml. Trace the endpoint's issuer construction and verify that the response reports http://localhost:8080/uaa rather than the /oauth/token URL.

Written by the indexing model from the issue text.

Description

debugging unscheduled
What version of UAA are you running?

4.11.0

How are you deploying the UAA?

I am deploying the UAA

  • locally only using gradlew
What did you do?

curl http://localhost:8080/uaa/.well-known/openid-configuration | jq .

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

I expect to see issuer with value http://localhost:8080/uaa since that's what I have set in my uaa.yml file

What did you see instead?

It wrongly returns http://localhost:8080/uaa/oauth/token as issuer

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.