View Bazaar branches
Get this repository:
git clone https://git.qastaging.paddev.net/canonical-identity-provider
Members of Ubuntu One PQM Team can upload to this repository. Log in for directions.

Canonical SSO provider has 3 active reviews. See all merge proposals.

Branches

Name Last Modified Last Commit
master 2024-04-30 13:08:27 UTC
Add QR code generation

Author: Shane M. Pelletier
Author Date: 2024-04-30 13:08:27 UTC

Add QR code generation

Previously, we relied on a third-party API provided by Google to
generate the QR codes used to setup a 2FA application. This API has been
disabled, so we are left with two options: we either switch to another
API provider (and there seems to be no QR code generation API provided
by a well-known source, so we'd have to rely on an unknown party to
provide an API which at best may or may not work and at worst generates
malicious QR codes) or we generate our own QR codes.

Thankfully, there exists a popular and relatively well-maintained Python
library for QR code generation, so it's relatively straightforward to
generate the QR code ourselves and use a data: URL to return the
generated QR code to the browser. This way, we don't even have to store
any temporary files -- the PNG is kept entirely in memory, and only for
the duration of the qrcode_url() function.

Solves https://bugs.launchpad.net/canonical-identity-provider/+bug/2063089
Closes https://warthogs.atlassian.net/browse/SN-2837

Merged from https://code.launchpad.net/~shanepelletier/canonical-identity-provider/+git/canonical-identity-provider/+merge/464923

11 of 1 result

Other repositories

Name Last Modified
lp:~julianskyler/canonical-identity-provider 2024-08-11
lp:~cryptomach13/canonical-identity-provider 2024-06-04
lp:~neomia83/canonical-identity-provider 2024-06-02
lp:~emmabrostrom/canonical-identity-provider 2024-05-31
lp:~dominicmoser/canonical-identity-provider 2024-05-29
lp:~udoxyu/canonical-identity-provider 2024-05-24
lp:canonical-identity-provider 2024-04-30
lp:~shanepelletier/canonical-identity-provider 2024-04-26
lp:~bowe1022/canonical-identity-provider 2024-04-02
lp:~marie-23/canonical-identity-provider 2024-03-07
lp:~kingkaram/canonical-identity-provider 2024-03-01
lp:~limitinit/canonical-identity-provider 2024-02-23
lp:~akbarkz/canonical-identity-provider 2024-02-16
lp:~lofidevops/canonical-identity-provider 2024-02-08
lp:~quantifics/canonical-identity-provider 2023-09-20
lp:~bowenfan/canonical-identity-provider 2023-09-15
lp:~miloslu/canonical-identity-provider 2023-09-11
lp:~ahmadrezaf1991/canonical-identity-provider 2023-08-20
lp:~verterok/canonical-identity-provider 2023-07-07
lp:~yarima1996/canonical-identity-provider 2023-06-23
lp:~shanepelletier/canonical-identity-provider/+git/canonical-identity-provider-1 2023-06-07
lp:~roadmr/canonical-identity-provider 2023-04-29
lp:~lapkakotika88/canonical-identity-provider 2023-04-06
lp:~maxiberta/canonical-identity-provider 2023-03-10
lp:~rochlomond/canonical-identity-provider/+git/canonical-identity-provider-1 2023-02-04
lp:~rochlomond/canonical-identity-provider 2023-02-04
lp:~protarhikos/canonical-identity-provider 2023-02-03
lp:~mgbtrust/canonical-identity-provider 2023-02-03
lp:~leo78207/canonical-identity-provider 2023-01-27
lp:~sever173/canonical-identity-provider 2023-01-15
lp:~planetubuntu/canonical-identity-provider 2022-12-28
lp:~matt86/canonical-identity-provider 2022-11-12
lp:~cammiec91/canonical-identity-provider 2022-10-25
lp:~norpass/canonical-identity-provider 2022-10-22
lp:~chocolatik/canonical-identity-provider 2022-10-12
lp:~tartley/canonical-identity-provider 2022-07-22
lp:~cjwatson/canonical-identity-provider 2022-07-22
lp:~odysseus-k/canonical-identity-provider 2022-06-30
lp:~spanzy98/canonical-identity-provider 2022-06-15
lp:~lgp171188/canonical-identity-provider 2022-05-24
lp:~moer/canonical-identity-provider 2022-04-27
lp:~silverdrake11/canonical-identity-provider 2022-04-13
lp:~sternracaba1/canonical-identity-provider 2022-02-25
lp:~suligap/canonical-identity-provider 2022-02-23
lp:~hosamail13/canonical-identity-provider 2021-09-22
lp:~jasonmckay50/canonical-identity-provider 2021-09-18
lp:~zhugeyyds/canonical-identity-provider 2021-09-04
lp:~adrix142/canonical-identity-provider 2021-08-19
lp:~ya-bo-ng/canonical-identity-provider 2021-06-10
lp:~wahyu32/canonical-identity-provider 2021-03-16
lp:~hendisutrisno85/canonical-identity-provider 2020-12-17
lp:~bartoszopka/canonical-identity-provider 2020-07-03
lp:~solazio/canonical-identity-provider 2020-07-01
lp:~bloodearnest/canonical-identity-provider/+git/canonical-identity-provider 2020-05-14
lp:~deadlight/canonical-identity-provider 2020-04-24
lp:~roadmr/canonical-identity-provider/+git/u2f-branch 2019-08-30
156 of 56 results
You can't create new repositories for Canonical SSO provider.