Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Auðkenni has two separate environments. The testing environment and the production environment. Most prospective service providers first establish a connection to the testing environment before connecting to the production environment.

Testing Environment

Prófunarumhverfið hegðar sér á allan hátt eins og raunumhverfið. Það er ætlað fyrir þjónustuveitendur til að nota á meðan aðlögun að kerfi okkar á sér stað. Þannig getur þjónustuveitandi prófað sig áfram að vild án þess að eiga á hættu að trufla nokkuð rekstur raunumhverfisins. Í prófunarumhverfinu gefst líka þjónustuveitendum kostur á að prófa væntanlegar breytingar og aðlaga sínar lausnir að þeim áður en þær eru settar upp í raunumhverfinuThe testing environment behaves in all respects like the production environment. It is intended for service providers to use while adapting to our system. This allows the service provider to test freely without the risk of disrupting the operation of the production environment. In the testing environment, service providers also have the opportunity to test potential changes and adapt their solutions to them before they are implemented in the production environment.

What needs to be considered regarding the testing environment?

Það eru nokkur atriði sem gott er að hafa í huga:

Test Certificates

Þar sem prófunarumhverfið er alveg aðskilið frá raunumhverfinu þá er ekki hægt að nota raunskilríki við prófanir þar heldur þarf að fá uppsett sérstök prófunarskilríki. Prófunarskilríkin eru að flestu leyti eins og raunskilríki en þau hafa annan útgáfuaðila (Issuer) og virka því ekki með raunumhverfinu. Prófunarskilríki þarf að fá fyrir farsíma (SIM skilríki), app og kort eftir því sem þarfThere are a few things to keep in mind:

Test Certificates

Since the testing environment is entirely separate from the production environment, prod certificates cannot be used for testing. Instead, specialized test certificates need to be set up. These test certificates are similar to prod certificates in most aspects, but they have a different issuer, which makes them incompatible with the production environment. Test certificates are required for mobile phones (SIM cards), the app, and cards, as needed for the testing process. This ensures that the testing environment operates independently and without any impact on the production environment.

Test Certificates for mobile phones (in SIM cards)

Þar sem ekki er hægt að hafa bæði prófunarskilríki og raunskilríki á sama SIM korti þá mælum við með því að þjónustuveitendur noti sér númer í prófanir. Ef það eru sett upp prófunarskilríki á númer sem er fyrir með raunskilríki þá verða raunskilríkin afturkölluð og þarf þá að setja þau upp aftur ef á að nota númerið í raunumhverfinu. Það er t.d. hægt að fá sér frelsisnúmer til að nota við þróun/prófanirSince it's not possible to have both test certificates and prod certificates on the same SIM card, we recommend that service providers use separate numbers for testing purposes. If test certificates are set up on a number that already has prod certificates, the prod certificates will be invalidated, and they will need to be set up again if that number is to be used in the production environment. One option is to obtain a dedicated test number, such as prepaid SIM card, to use specifically for development and testing purposes. This way, there will be no interference or conflicts with the real production environment.

Test Certificates for the

...

Þegar kemur að Auðkennisappinu þá er Auðkenni með sérstaka prófunarútgáfu af því. Kosturinn við það er að þá getur notandi verið með bæði raunútgáfu og prófunarútgáfu uppsetta á sama tæki. Aðgengi að prófunarútgáfu er stýrt. Til að fá aðgengi að prófunarútgáfunni þarf að gefa okkur upp netfang sem hefur aðgang að Google Play Store. Við opnum svo fyrir það netfang að prófunarútgáfunni. Í framhaldi fær notandinn tölvupóst með upplýsingum um “invite” slóð þar sem þarf að samþykkja boð um að nota prófunarútgáfuna. Einnig er í póstinum slóð til að sækja appið sjálft.

Production Environment

Raunumhverfið er það umhverfi sem notað er þegar allt er tilbúið. Fyrir þjónustuveitanda er auðvelt að færa sig yfir í raunumhverfið þegar allt er tilbúið á móti prófunarumhverfinu. Aðeins þarf að breyta upplýsingum varðandi grunnslóðir (base url) og auðkenningartengd atriði (clientid, secret og þessháttar).

...

Auðkenni App

When it comes to the Auðkenni app, there is a separate testing version provided by Auðkenni. The advantage of this is that users can have both the production version and the testing version installed on the same device. Access to the testing version is controlled. To gain access to the testing version, users need to provide an email address that has access to the Google Play Store. Auðkenni will then grant access to the testing version for that email address. Subsequently, the user will receive an email with an "invite" link that needs to be accepted to use the testing version. The email will also contain a link to download the app itself. This way, users can conveniently test the app without interfering with the functionality of the production version.

Production Environment

The production environment is the live environment where everything is fully ready for use. For a service provider, it is straightforward to transition to the production environment once everything is prepared and tested in the testing environment. Only the necessary adjustments, such as changing the base URLs and authentication-related parameters (client ID, secret, etc.), need to be made.

However, connecting to the production environment is not permitted until a contractual agreement is reached between Auðkenni and the prospective service provider. This ensures that all parties are aligned, and the necessary legal and security requirements are met before deploying the service in the live environment. This approach helps maintain the integrity and security of the production environment.