Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Enable debugger #49

Open
GMafra opened this issue Apr 16, 2019 · 2 comments
Open

Enable debugger #49

GMafra opened this issue Apr 16, 2019 · 2 comments

Comments

@GMafra
Copy link

GMafra commented Apr 16, 2019

Hi,

I need to know if there is a way to enable a debugger on the proxy and nexus itself, because even after following the instructions multiple times I still can't get it work, it seems the X-forwarded-user header is not being passed correctly and I end up not being able to log on nexus, I get these errors:

image

Checking the cookies I saw that 3 different JWT tokens are present in the cookie, not sure if this is the expected behavior:

image

@pires
Copy link
Contributor

pires commented Apr 22, 2019

Hey @GMafra, I suggest you fork the nexus-proxy project in order to validate your assumptions. Then, maybe you'll find an issue and we can discuss it, maybe even contribute a fix. That would be awesome!

@GMafra
Copy link
Author

GMafra commented Apr 23, 2019

Hi Pires,

Quick question that might solve my problem: Are we required to create users on Nexus even if we have GCP authentication enabled?

From my understanding the Rut Auth capability automatically creates a local nexus user based on the authenticated user that is sent from IAP within the cookie, or is this not correct?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants