Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please log in before reading #196

Open
markplus opened this issue Nov 12, 2024 · 1 comment
Open

Please log in before reading #196

markplus opened this issue Nov 12, 2024 · 1 comment

Comments

@markplus
Copy link

Would it be possible to direct those who scan to login before reading the data entered in the barcode? I should create barcodes only for authorized people but I don't know how to do it

@lucacastelnuovo
Copy link

Hi @markplus,

I'm not affiliated with this package but I think I can give you some advice.
It seems to me as if you have two flows in your description.

Would it be possible to direct those who scan to login before reading the data entered in the barcode?

  1. Generate barcode
  2. Show barcode (on a webpage or wherever)
  3. Have an user scan the barcode (using a phone or barcodescanner, etc.)
  4. Redirect user back to your webpage
  5. Request user to authenticate
  6. After successful authentication display data

I should create barcodes only for authorized people but I don't know how to do it

  1. Request user to authenticate
  2. Generate barcode
  3. Show barcode (on a webpage or wherever) to authenticated user

What are you trying to achieve, as these flows differ quite a bit from each other.

Also I should note that both flows don't have much to do with this package.
This package only concerns itself with generating barcodes.

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

No branches or pull requests

2 participants