How to customize page/form of request access? api/requestAccessToOrg or auth/requestAccess

I would like to know if it is possible or how to I modify the "Request Access" page to accept custom fields.

I would like to pass more attributes from "request access" page, e.g. phone number, mailing address etc.

api/requestAccessToOrg:
{
"email":"name@email.com",
"orgId":1,
"metadata": { "mailAddress" : "123 main st, vic", mobileNumber: "123" }
}

Hi @rainpoh,

Welcome to Retool!

There is a step by step guide here.

Thanks. I followed the guide for custom login page.

What about any guide to customize "requestAccessToOrg" API?

The "Request access to join" button is triggering "api/requestAccessToOrg", where can I find more details on this API? I would like to get more information from the external user.

Thanks

1 Like

Hey @rainpoh - welcome to the community! :slightly_smiling_face:

Unfortunately, there isn't currently a way to do this. Neither the page at auth/requestAccess nor the associated endpoint can be customized in the same way as the auth/login page.

We have an existing feature request that would allow users to enrich the request with additional fields, but it's not yet been picked up and the timeline for its completion isn't clear. As soon as that changes, I'll provide an update here!

1 Like