Skip to content
This repository has been archived by the owner on Jan 29, 2021. It is now read-only.

Define additional config data in QR Code #5

Open
cornelinux opened this issue Sep 12, 2017 · 4 comments
Open

Define additional config data in QR Code #5

cornelinux opened this issue Sep 12, 2017 · 4 comments

Comments

@cornelinux
Copy link
Member

We need to define additional config data for the QR Code:

  • number of tokens
  • color set...
  • logo...
@nilsbehlen
Copy link
Member

What should happen if a user already has one (or more tokens) and scans a token with the restriction set to one token only?
Keep the tokens or delete the already existing tokens?
Either way the ability to add more tokens should be locked after the one with restriction,
but then there needs to be a way to "unlock" the restriction again

@cornelinux
Copy link
Member Author

Great question...

  1. The token refuses to enroll
  2. the token forces the user to delete the other tokens: "The new token is restricted to be the only token in your app. You can only enroll the new token, by deleting the old tokens. Do you want me to delete the old tokens?"
  3. Simply enroll the token and do not allow to enroll any further tokens.

@nilsbehlen
Copy link
Member

so far there are the addional parameters:
(it's either true, or can be left out, since the default is false anyway)

  • ?pin=true
  • ?maxnum= (number of tokens allowed in the list (unfinished))
  • ?2step=true (unfinished)

@nilsbehlen
Copy link
Member

the restriction feature (?maxnum) is removed until there is a real use for that

nilsbehlen added a commit that referenced this issue Nov 16, 2017
Implemented 2step according to privacyidea/privacyidea#797 #4 #5
Removed Bcrypt and Scrypt.
@nilsbehlen nilsbehlen self-assigned this Nov 20, 2017
nilsbehlen added a commit that referenced this issue Nov 22, 2017
&2step=true is not needed anymore, as long as one of the 2step parameters is present, 2tep is done. #4 #5
@nilsbehlen nilsbehlen removed this from the 2.0 milestone Dec 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants