Skip to content

Commit

Permalink
Add fix for issue #327
Browse files Browse the repository at this point in the history
Client authentication was incorrectly using the login endpoint instead of UAA.
  • Loading branch information
sneal committed Mar 24, 2023
1 parent 1561eb6 commit f1d66e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/http/oauth_session_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (m *OAuthSessionManager) newTokenSource(ctx context.Context) error {
case m.config.Token != "":
m.userTokenAuth(oauthCtx, loginEndpoint, uaaEndpoint)
case m.config.ClientID != "":
m.clientAuth(oauthCtx, loginEndpoint)
m.clientAuth(oauthCtx, uaaEndpoint)
default:
return m.userAuth(oauthCtx, loginEndpoint, uaaEndpoint)
}
Expand Down

0 comments on commit f1d66e9

Please sign in to comment.