mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-20 01:58:10 +02:00
Add an 'issuer' field to the /.well-known/pomerium endpoint (#5344)
The field contains the route's base uri, including the https:// scheme and ending with a trailing slash.
This commit is contained in:
parent
a42e286637
commit
5464cda90e
3 changed files with 4 additions and 0 deletions
|
@ -52,6 +52,7 @@ func TestServerHTTP(t *testing.T) {
|
|||
require.NoError(t, err)
|
||||
|
||||
expect := map[string]any{
|
||||
"issuer": fmt.Sprintf("https://localhost:%s/", src.GetConfig().HTTPPort),
|
||||
"authentication_callback_endpoint": "https://authenticate.localhost.pomerium.io/oauth2/callback",
|
||||
"frontchannel_logout_uri": fmt.Sprintf("https://localhost:%s/.pomerium/sign_out", src.GetConfig().HTTPPort),
|
||||
"jwks_uri": fmt.Sprintf("https://localhost:%s/.well-known/pomerium/jwks.json", src.GetConfig().HTTPPort),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue