Skip to content

Add IdP policy to never trust email, and perform inline email verification on link #2506

Open
@robotdan

Description

@robotdan

Add IdP policy to never trust email, and perform inline email verification on link

Description

When you link by email in any fashion, you must trust the IdP. There are use cases where you may not trust the IdP, or the IdP is too flexible in the configuration to even know for sure if a user is verified.

Solution

Add a new policy to an IdP to indicate you want FusionAuth to perform an inline email verification before completing the link. This means you do not need to trust the IdP and FusionAuth can enforce email verification regardless of what the IdP does.

This would make FusionAuth more helpful in preventing account takeover attacks due to 3rd party IdPs.

Proposed workflow

  1. IdP named "super sketch" is configured to link by email
  2. Really smart FusionAuth admin checks the box "force email verification because I do not trust this IdP"
  3. User clicks "Login with super sketch"
  4. User is redirected and logs in to "super sketch"
  5. User is redirected back to FusionAuth
  6. FusionAuth does not yet have a link for this user.
  7. FusionAuth does not trust "super sketch" and forces the user to verify the email address returned by the IdP
  8. User completes email verification
  9. FusionAuth completes the link and logs the user via "super sketch"

Related

Community guidelines

All issues filed in this repository must abide by the FusionAuth community guidelines.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions