# Issues with openid and management api

**URL:** <https://community.auth0.com/t/issues-with-openid-and-management-api/108117>\
**Category:** Get Help\
**Tags:** users, management-api\
**Created:** [May 30, 2023, 3:19pm UTC](https://community.auth0.com/t/issues-with-openid-and-management-api/108117 "2023-05-30T15:19:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maciej](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@maciej](https://community.auth0.com/u/maciej)\
**Post date:** [May 30, 2023, 3:19pm UTC](https://community.auth0.com/t/issues-with-openid-and-management-api/108117/1 "2023-05-30T15:19:29Z")

</div>

Hey,

I am using OpenID node implementation. That redirects me to log in. All is good here.

The issue is I need to add two checkboxes. One for terms and conditions and one for newsletter subscription. How does one go about doing this?

I found that it’s not possible with the new universal login. That’s cool. I can use Classic, but I cannot find any guides about how to add it, and nothing comes up from the search dashboard.

Things I need.

1. How to add checkboxes
2. How to validate the T&C checkbox is checked before login
3. How to call Mailchimp after registering if the user checked

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [May 31, 2023, 1:52pm UTC](https://community.auth0.com/t/issues-with-openid-and-management-api/108117/3 "2023-05-31T13:52:00Z")

</div>

Hi @maciej

Welcome to the Auth0 Community!

If you want to add checkboxes to your signup place, I encourage you to check our Custom Universal Login Page, which you can customize in the Auth Dashboard → Branding → Advanced Options → Login and Enable Customize Login Page.

To add T&C to your lock configuration, you need to append options with [`mustAcceptTerms`](https://auth0.com/docs/libraries/lock/lock-configuration#mustacceptterms-boolean-)

> When set to `true` displays a checkbox input alongside the terms and conditions that must be checked before signing up. The terms and conditions can be specified via the `languageDictionary` option. This option will only take effect for users signing up with database connections. Defaults to `false`.
> 
> `mustAcceptTerms: true`

To add 2nd checkbox for the newsletter, you can add an additional field in the options with a checkbox type. [Checkbox configuration](https://auth0.com/docs/libraries/lock/lock-configuration#checkbox-field) User choice will be saved in the user metadata.

To call Mailchimp after the user registers in your system, you can use Post-Register Auth0 Actions. Our documentation which you can find [here](https://auth0.com/docs/customize/actions/flows-and-triggers/post-user-registration-flow), will help you set up the correct flow of passing necessary data to Mailchimp. I hope it will help you.

Thanks  
Dawid

---

<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:** [June 14, 2023, 1:52pm UTC](https://community.auth0.com/t/issues-with-openid-and-management-api/108117/4 "2023-06-14T13:52:18Z")

</div>

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