-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure AD: login is unsuccessful if 'Username:' field is not populated #495
Comments
@arun-898 thanks for the detailed report. It may be related to #445, that appears to be the same behavior. I'm not an ADFS or Azure user and I'm not in a good position to assess this bug. Are you able to populate the
In general I'd like to migrate VP to use to |
Thanks @bnfinet for the quick response, I am trying to populate Username with available attributes. |
I was not able to populate the username but I noticed some issues with claims. Update: |
@arun-898 I notice you're using If you still have problems after upgrade, please do offer logs and config. |
Thanks @bnfinet for the info, I have updated the latest VP tag |
@bnfinet In the latest logs also I am getting the same error. Can you please suggest how I can override the required files, I can then debug further for populating the username. |
@arun-898 could you please publish those logs and the current config you're using to a gist as before?
The best way to do that is to download the vouch-proxy source code from this git repo and then after modifying the repo run |
@bnfinet I have updated the logs and config for Vouch Proxy v0.37.3 in the ticket description, please have a look at the logs. |
@bnfinet I am able to login using vouch proxy after I make the following changes to the custom docker image, username is populated in vouch logs. To build the custom docker image
|
@bnfinet yes Changes added here #445 will be required for ADFS user object as well until we move to
Please ignore this, I misunderstood this with |
I am trying to set up vouch proxy with Azure AD B2C with Drupal app using the following example
I have tried the following two providers.
Azure provider:
This fails immediately at
/auth
request because of the missing access token, so I decided to use ADFSError:
/auth Error while retrieving user info after successful login at the OAuth provider: oauth2: server response missing access_token
ADFS Provider:
it results in too many redirects, because of failed authentication it keeps on redirecting to vouch proxy login URL. (all request redirects to 302) All the logs for ADFS are attached here
Vouch and nginx config added here
Can anyone please help me to resolve this issue?
Above logs and config are added for the previous (v0.27.1 ) of VP.
Added new logs for VP v0.37.3 Config
Logs
The text was updated successfully, but these errors were encountered: