# Custom\_login\_page support php?

**URL:** <https://community.auth0.com/t/custom-login-page-support-php/60091>\
**Category:** Get Help\
**Tags:** auth0js, auth0\
**Created:** [March 26, 2021, 1:57am UTC](https://community.auth0.com/t/custom-login-page-support-php/60091 "2021-03-26T01:57:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Toshi023](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/toshi023/32/27945_2.png) [@Toshi023](https://community.auth0.com/u/Toshi023)\
**Post date:** [March 26, 2021, 1:57am UTC](https://community.auth0.com/t/custom-login-page-support-php/60091/1 "2021-03-26T01:57:57Z")

</div>

Hi!  
I’ve tried to show custom login page as the universal login page in my dev environment.  
(The login page only use simple html, css and php)  
auth0.js 9.14.0

I did following setting on the tenant.

1. I updated the client using [ManagementAPI](https://auth0.com/docs/api/management/v2#!/Clients/).  
{  
“custom\_login\_page\_on”: true,  
“custom\_login\_page”: “\<php? some php code ?\> some login page ”  
}
2. I placed the button to call authorize Method with Auth0.js in my homepage.
3. Auth0 did show custom\_login\_page as an universal login, but php code didn’t work.

Is there the space or setting to handle php for “custom\_login\_page” on Auth0 tenant?

Regards,

Toshi

---

<div class="post-metadata">

**Author:** ![Ale](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ale/32/50860_2.png) [@Ale](https://community.auth0.com/u/Ale)\
**Post date:** [March 27, 2021, 5:36am UTC](https://community.auth0.com/t/custom-login-page-support-php/60091/2 "2021-03-27T05:36:58Z")

</div>

Hey @Toshi023,

I’m sorry but the content of custom\_login\_page can only be HTML, CSS, and JavaScript. This is actually documented on our Management API, on the right panel (Response Schema for the clients endpoints): [Auth0 Management API v2](https://auth0.com/docs/api/management/v2?#!/Clients/get_clients)

---

<div class="post-metadata">

**Author:** ![Toshi023](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/toshi023/32/27945_2.png) [@Toshi023](https://community.auth0.com/u/Toshi023)\
**Post date:** [March 29, 2021, 4:20am UTC](https://community.auth0.com/t/custom-login-page-support-php/60091/3 "2021-03-29T04:20:15Z")

</div>

Hi @Ale,

Thank you for your replying and I’m sorry for the topic about custom\_login\_page even though docs exist.  
I understand custom\_login\_page spec.  
I’ll check API Documents and use embedded login so far on our site.

Regards,  
Toshi023

---

<div class="post-metadata">

**Author:** ![Ale](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ale/32/50860_2.png) [@Ale](https://community.auth0.com/u/Ale)\
**Post date:** [March 29, 2021, 8:49am UTC](https://community.auth0.com/t/custom-login-page-support-php/60091/4 "2021-03-29T08:49:51Z")

</div>

No problem @Toshi023! Good luck with your implementation 🙂

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [April 13, 2021, 8:50am UTC](https://community.auth0.com/t/custom-login-page-support-php/60091/5 "2021-04-13T08:50:13Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
