ory / elements

Ory Elements is a component library that makes building login, registration and account pages for Ory a breeze. Check out the components library on Chromatic https://www.chromatic.com/library?appId=63b58e306cfd32348fa48d50
https://ory.sh
Apache License 2.0
85 stars 44 forks source link

fix: oidc should show pre-filled traits and missing traits #123

Closed Benehiko closed 1 year ago

Benehiko commented 1 year ago

When in an OIDC flow the traits of the prefilled data might be missing once redirected back from the OIDC provider.

  1. Login with X
  2. Redirect back to registration page
  3. Show prefilled traits it could populate & missing traits (error)
  4. Enter missing traits and click continue

Step 3 works since the traits are still mapped under a different group: image

In some cases the UI would be shown with only a continue button if an error occurred on a non-oidc group. This would thus create an empty form with only the continue button.

Related Issue or Design Document

Checklist

Further comments