Skip to content

Prefill custom fields in the registration form with TPA data.#252

Merged
MoisesGSalas merged 1 commit intoopen-release/koa.nelpfrom
mgs/reg-form-tpa-overrides
Jan 19, 2022
Merged

Prefill custom fields in the registration form with TPA data.#252
MoisesGSalas merged 1 commit intoopen-release/koa.nelpfrom
mgs/reg-form-tpa-overrides

Conversation

@MoisesGSalas
Copy link
Copy Markdown
Member

@MoisesGSalas MoisesGSalas commented Jan 14, 2022

Description

Usually the method _apply_third_party_auth_overrides auto completes the register form with data from the provider. The fields that are prefilled are defined in DEFAULT_FIELDS, EXTRA_FIELDS. If we use custom fields via a custom registration form, it's not possible to prefill the fields even if the provider send us all the data.

This PR adds a new setting to include additional fields to be prefilled.

@MoisesGSalas MoisesGSalas merged commit 5d4a262 into open-release/koa.nelp Jan 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant