Skip to content

Make this error better / easier to understand #360

Open
@gdestuynder

Description

This is the message that appears when you login to an RP that requires AAL=MEDIUM for example (ie needs 2FA) but do not have 2FA setup. Note that this is not necessarily just because youre missing 2FA, it could be other security attributes.

elif error_code == 'aai_failed':
error_text = "{client} requires you to setup additional security measures for your account, \
such as enabling multi-factor authentication (MFA) or using a safer authentication method (such as a \
Firefox Account login). You will not be able to login until this is \
done.".format(client=self.data.get('client'))

Note: this is also missing the fact that in the FxA example it should say "Firefox Accounts with MFA" not just FxA (if we keep this message)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions