Title: Custom authorization code page
Last modified: June 20, 2020

---

# Custom authorization code page

 *  Resolved [shaifulborhan](https://wordpress.org/support/users/shaifulborhan/)
 * (@shaifulborhan)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/custom-authorization-code-page/)
 * Hi,
 * Is it possible to use our own authorization page instead of the “WP-admin looking”
   one for user to enter their authorization code after signing in? Basically I 
   would like the page to look like our theme.
 * Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Contributor [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/custom-authorization-code-page/#post-13022498)
 * Thank you for using our plugin [@shaifulborhan](https://wordpress.org/support/users/shaifulborhan/)
 * The authorization code page is a “standard” WordPress login page. We will look
   into this and see what the options are. In the meantime, I have a question for
   you; do you want to change the logo only, or you also want to change the rest
   of the page (background colour, the shape and colour of the dialog etc)?
 * Looking forward to hearing from you.
 *  Thread Starter [shaifulborhan](https://wordpress.org/support/users/shaifulborhan/)
 * (@shaifulborhan)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/custom-authorization-code-page/#post-13041137)
 * Hi [@robert681](https://wordpress.org/support/users/robert681/)
 * No it’s not just a logo change. I would like to use a custom page template for
   the authorization page because at the moment I am already using a custom page
   template for login. So it would be nice to have the authorization code page looking
   seamless.
 * Just a simple Authorization Code text field and a submit button will do. It’s
   ok to NOT have the extra feature like “Use Backup Codes” on this custom authorization
   page. I can certainly build the HTML form for that page, but is there a function
   I can call from the plugin to process the form submission for validating the 
   authorization code?
 * Thank you in advance.
 *  Thread Starter [shaifulborhan](https://wordpress.org/support/users/shaifulborhan/)
 * (@shaifulborhan)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/custom-authorization-code-page/#post-13045532)
 * Managed to figure this one out. Solution is somewhat hacky but looks to be working
   fine. I am using the TOTP and Backup Codes methods on my custom authorization
   page. Just needed to change a few lines of code in includes/classes/Authenticator/
   Login.php to make it work.
    -  This reply was modified 5 years, 11 months ago by [shaifulborhan](https://wordpress.org/support/users/shaifulborhan/).
    -  This reply was modified 5 years, 11 months ago by [shaifulborhan](https://wordpress.org/support/users/shaifulborhan/).
 *  Plugin Contributor [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/custom-authorization-code-page/#post-13048968)
 * Hello [@shaifulborhan](https://wordpress.org/support/users/shaifulborhan/)
 * I am glad you found a solution to this, however, we’d also like to have out-of-
   the-box support for something like this.
 * Can you please give us more details on what you’ve changed? If you do not want
   to share them here, you can always send us the details over email to [support@wpwhitesecurity.com](https://wordpress.org/support/topic/custom-authorization-code-page/support@wpwhitesecurity.com?output_format=md).
 * Looking forward to hearing from you.
 *  Thread Starter [shaifulborhan](https://wordpress.org/support/users/shaifulborhan/)
 * (@shaifulborhan)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/custom-authorization-code-page/#post-13055966)
 * Hi [@robert681](https://wordpress.org/support/users/robert681/),
 * Absolutely happy to share. I have created a repo here containing only the modified
   files [https://github.com/shaifulborhan/WP2FA-plugin-custom-authorization-page](https://github.com/shaifulborhan/WP2FA-plugin-custom-authorization-page)
 * The modifications in the Login class are marked with /*custom code*/ comments.
 * Thanks!
 *  Plugin Contributor [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/custom-authorization-code-page/#post-13056835)
 * Thanks a lot for your help [@shaifulborhan](https://wordpress.org/support/users/shaifulborhan/)
 * We will add this functionality to the plugin in one of our upcoming updates.
 *  [pintillo86](https://wordpress.org/support/users/pintillo86/)
 * (@pintillo86)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/custom-authorization-code-page/#post-13076327)
 * Looking forward for this option, I’m using elementor builder, and I thought that
   if I just make a custom page and use the Shortcode I can get it done, but it 
   is still showing the “WordPress Styled” Page.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Custom authorization code page’ is closed to new replies.

 * ![](https://ps.w.org/wp-2fa/assets/icon-256x256.png?rev=2961533)
 * [WP 2FA - Two-factor authentication for WordPress](https://wordpress.org/plugins/wp-2fa/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-2fa/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-2fa/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-2fa/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-2fa/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-2fa/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [pintillo86](https://wordpress.org/support/users/pintillo86/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/custom-authorization-code-page/#post-13076327)
 * Status: resolved