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-05T06:42:31.395143+02:00", "force_authentication" : true, "id" : "6f364bc8-ad9a-495a-9700-19f6476efbbc", "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-05T06:42:31.395143+02:00", "force_authentication" : true, "id" : "6f364bc8-ad9a-495a-9700-19f6476efbbc", "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.eyJhdXRoZW50aWNhdGlvbl9yZXF1ZXN0Ijp7ImF0dHJpYnV0ZV9saXN0IjpbeyJ0eXBlIjoicmVxdWVzdGVkX2F0dHJpYnV0ZSIsIm5hbWUiOiJGaXJzdE5hbWUiLCJyZXF1aXJlZCI6dHJ1ZX0seyJ0eXBlIjoicmVxdWVzdGVkX2F0dHJpYnV0ZSIsIm5hbWUiOiJEYXRlT2ZCaXJ0aCIsInJlcXVpcmVkIjp0cnVlfSx7InR5cGUiOiJyZXF1ZXN0ZWRfYXR0cmlidXRlIiwibmFtZSI6IkZhbWlseU5hbWUiLCJyZXF1aXJlZCI6dHJ1ZX0seyJ0eXBlIjoicmVxdWVzdGVkX2F0dHJpYnV0ZSIsIm5hbWUiOiJQZXJzb25JZGVudGlmaWVyIiwicmVxdWlyZWQiOnRydWV9XSwicmVxdWVzdGVkX2F1dGhlbnRpY2F0aW9uX2NvbnRleHQiOnsiY29tcGFyaXNvbiI6Im1pbmltdW0iLCJjb250ZXh0X2NsYXNzIjpbIkEiXX0sImNpdGl6ZW5fY291bnRyeSI6IkNaIiwiY3JlYXRlZF9vbiI6IjIwMjQtMTEtMDVUMDY6NDI6MzEuMzk1MTQzKzAyOjAwIiwiZm9yY2VfYXV0aGVudGljYXRpb24iOnRydWUsImlkIjoiNmYzNjRiYzgtYWQ5YS00OTVhLTk3MDAtMTlmNjQ3NmVmYmJjIiwicHJvdmlkZXJfbmFtZSI6IkRFTU8tU1AtUk8iLCJyZXF1ZXN0ZXJfaWQiOiJodHRwOi8vZWlkYXMuZXUvRWlkYXNOb2RlL1JlcXVlc3RlcklkX1JPIiwic2Vyd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jaXRpemVuX2NvdW50cnkiOiJDWiIsImNyZWF0ZWRfb24iOiIyMDI0LTExLTA1VDA2OjQyOjMxLjM5NTE0MyswMjowMCIsImZvcmNlX2F1dGhlbnRpY2F0aW9uIjp0cnVlLCJpZCI6IjZmMzY0YmM4LWFkOWEtNDk1YS05NzAwLTE5ZjY0NzZlZmJiYyIsInByb3ZpZGVyX25hbWUiOiJERU1PLVNQLVJPIiwicmVxdWVzdGVyX2lkIjoiaHR0cDovL2VpZGFzLmV1L0VpZGFzTm9kZS9SZXF1ZXN0ZXJJZF9STyIsInNlcnZpY2VVcmwiOiJodHRwczovL2Rldi5laWRhcy5nb3Yucm8vU1AvUmV0dXJuUGFnZSIsInNwX3R5cGUiOiJwdWJsaWMiLCJ2ZXJzaW9uIjoiMSJ9fQ.ANdu6TkjwH4jSqC1wquaNc_fOscJcUDuns7yXltQ7HmX3R8k6Yf4YQGxnciYWXw_mbUkmAhMHJWE-gTZfNUvT78lAAdf0pFojIK1yf6GnpVtI93t65uumi_SO8gGqoHv421FVV3dvMxwukr0PUIxUaN2S1i1vIZi8Cn9mg0vk55QjkXF

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