Porniți un proces de autentificare

Selectați o țară:

Doar cu atribute obligatorii
Atribute obligatorii si opționale

Țările și atributele disponibile pot fi interogate folosind o cerere de tip `HTTP-GET` către `https://dev.eidas.gov.ro/SP/AvailableCountries` .

Selectați un nivel de asigurare minim:
Pentru fiecare categorie avem cate un nivel: - A,B -> Scazut; - C,D -> Substantial; - E -> Inalt

Ghid de integrare a unui SP romanesc

În funcție de țara selectata și atributele cerute de către SP, trebuie pregătit o cerere JSON. Câteva exemple sunt prezente mai jos.
Doar cu atribute obligatorii
{ "authentication_request" : { "attribute_list" : [ { "type" : "requested_attribute", "name" : "FirstName", "required" : true }, { "type" : "requested_attribute", "name" : "DateOfBirth", "required" : true }, { "type" : "requested_attribute", "name" : "FamilyName", "required" : true }, { "type" : "requested_attribute", "name" : "PersonIdentifier", "required" : true } ], "requested_authentication_context" : { "comparison" : "minimum", "context_class" : [ "A" ] }, "citizen_country" : "CZ", "created_on" : "2024-11-21T11:04:23.105457+02:00", "force_authentication" : true, "id" : "f8908cb0-8136-476b-a4d5-736d5f9e3cd3", "provider_name" : "DEMO-SP-RO", "requester_id" : "http://eidas.eu/EidasNode/RequesterId_RO", "serviceUrl" : "https://dev.eidas.gov.ro/SP/ReturnPage", "sp_type" : "public", "version" : "1" } }
Atribute obligatorii și opționale
{ "authentication_request" : { "attribute_list" : [ { "type" : "requested_attribute", "name" : "PlaceOfBirth", "required" : false }, { "type" : "requested_attribute", "name" : "FirstName", "required" : true }, { "type" : "requested_attribute", "name" : "DateOfBirth", "required" : true }, { "type" : "requested_attribute", "name" : "CurrentAddress", "required" : false }, { "type" : "requested_attribute", "name" : "FamilyName", "required" : true }, { "type" : "requested_attribute", "name" : "PersonIdentifier", "required" : true } ], "requested_authentication_context" : { "comparison" : "minimum", "context_class" : [ "A" ] }, "citizen_country" : "CZ", "created_on" : "2024-11-21T11:04:23.105457+02:00", "force_authentication" : true, "id" : "f8908cb0-8136-476b-a4d5-736d5f9e3cd3", "provider_name" : "DEMO-SP-RO", "requester_id" : "http://eidas.eu/EidasNode/RequesterId_RO", "serviceUrl" : "https://dev.eidas.gov.ro/SP/ReturnPage", "sp_type" : "public", "version" : "1" } }

Folosind cererea JSON, vom produce o cerere JWT semnata folosind cheia privata. Atenție! Semnătură trebuie oferita la nivel de server, nu la nivel de browser.
Doar cu atribute obligatorii
eyJhbGciOiJFUzUxMiJ9.eyJhdXRoZW50aWNhdGlvbl9yZXF1ZXN0Ijp7ImF0dHJpYnV0ZV9saXN0IjpbeyJ0eXBlIjoicmVxdWVzdGVkX2F0dHJpYnV0ZSIsIm5hbWUiOiJGaXJzdE5hbWUiLCJyZXF1aXJlZCI6dHJ1ZX0seyJ0eXBlIjoicmVxdWVzdGVkX2F0dHJpYnV0ZSIsIm5hbWUiOiJEYXRlT2ZCaXJ0aCIsInJlcXVpcmVkIjp0cnVlfSx7InR5cGUiOiJyZXF1ZXN0ZWRfYXR0cmlidXRlIiwibmFtZSI6IkZhbWlseU5hbWUiLCJyZXF1aXJlZCI6dHJ1ZX0seyJ0eXBlIjoicmVxdWVzdGVkX2F0dHJpYnV0ZSIsIm5hbWUiOiJQZXJzb25JZGVudGlmaWVyIiwicmVxdWlyZWQiOnRydWV9XSwicmVxdWVzdGVkX2F1dGhlbnRpY2F0aW9uX2NvbnRleHQiOnsiY29tcGFyaXNvbiI6Im1pbmltdW0iLCJjb250ZXh0X2NsYXNzIjpbIkEiXX0sImNpdGl6ZW5fY291bnRyeSI6IkNaIiwiY3JlYXRlZF9vbiI6IjIwMjQtMTEtMjFUMTE6MDQ6MjMuMTA1NDU3KzAyOjAwIiwiZm9yY2VfYXV0aGVudGljYXRpb24iOnRydWUsImlkIjoiZjg5MDhjYjAtODEzNi00NzZiLWE0ZDUtNzM2ZDVmOWUzY2QzIiwicHJvdmlkZXJfbmFtZSI6IkRFTU8tU1AtUk8iLCJyZXF1ZXN0ZXJfaWQiOiJodHRwOi8vZWlkYXMuZXUvRWlkYXNOb2RlL1JlcXVlc3RlcklkX1JPIiw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RpemVuX2NvdW50cnkiOiJDWiIsImNyZWF0ZWRfb24iOiIyMDI0LTExLTIxVDExOjA0OjIzLjEwNTQ1NyswMjowMCIsImZvcmNlX2F1dGhlbnRpY2F0aW9uIjp0cnVlLCJpZCI6ImY4OTA4Y2IwLTgxMzYtNDc2Yi1hNGQ1LTczNmQ1ZjllM2NkMyIsInByb3ZpZGVyX25hbWUiOiJERU1PLVNQLVJPIiwicmVxdWVzdGVyX2lkIjoiaHR0cDovL2VpZGFzLmV1L0VpZGFzTm9kZS9SZXF1ZXN0ZXJJZF9STyIsInNlcnZpY2VVcmwiOiJodHRwczovL2Rldi5laWRhcy5nb3Yucm8vU1AvUmV0dXJuUGFnZSIsInNwX3R5cGUiOiJwdWJsaWMiLCJ2ZXJzaW9uIjoiMSJ9fQ.AZj3LFFPBIsw5tvARx6lQCeQwEWc7Yw_iuBPlgsuPUyPf6N__gFFyNKJXaBiwAe_UsvnP9GJTOuV1MNvakh3vrprAKigOq4sinn542rTrU9Tc4bIz2V4nvak2ko3EmKSMSjPg-wrZl_qZJcWEPNNzxcBnKWh1kzmRmByshhVLemxm7sD

Cu un JWT semnat putem crea formularul final pentru cetățeanul de interes.
Doar cu atribute obligatorii
Atribute obligatorii și opționale