# Username not displayed in login page

**URL:** <https://forum.keycloak.org/t/username-not-displayed-in-login-page/1485>\
**Category:** Getting advice\
**Tags:** saml\
**Created:** [March 2, 2020, 1:23pm UTC](https://forum.keycloak.org/t/username-not-displayed-in-login-page/1485 "2020-03-02T13:23:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Madhevan](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@Madhevan](https://forum.keycloak.org/u/Madhevan)\
**Post date:** [March 2, 2020, 1:23pm UTC](https://forum.keycloak.org/t/username-not-displayed-in-login-page/1485/1 "2020-03-02T13:23:21Z")

</div>

Azure AD B2B is my service provider and Keycloak is my Identity provider. The protocol is SAML.Azure AD B2B redirects properly to Keycloak. The issue I am facing here is, from the request the user name is not being displayed in the Keycloak login page user name textbox.

Anyway I can display the user name from the request?

---

<div class="post-metadata">

**Author:** ![carlosen14](https://avatars.discourse-cdn.com/v4/letter/c/ce7236/32.png) [@carlosen14](https://forum.keycloak.org/u/carlosen14)\
**Post date:** [March 5, 2020, 7:03am UTC](https://forum.keycloak.org/t/username-not-displayed-in-login-page/1485/2 "2020-03-05T07:03:18Z")

</div>

Maybe you have to map this value, accesstoken provided by keycloak migth be different from the one provided by Azure AD, check this guide/example mapping a Google variable.

> **[Mapping Social Login Attributes in Keycloak](https://medium.com/@jithset/mapping-social-login-attributes-in-keycloak-b082d9e11347)**
>
> How to map the user information from social login to keycloak user attributes.

By the way, could you please help me? I saw you did configure Azure AD but I am facing some trouble, i can login with Microsoft Identity Provider, but when I do it on an Angular App, i end up with HTTP Status Code 502 Bad Gateway. Hope you can help 🙂
