Jämförda versioner

Nyckel

  • Dessa rader lades till.
  • Denna rad togs bort.
  • Formateringen ändrades.

...

serviceId

Yes

Relying parties identify themselves for the GRP API using the parameter "serviceId". This is a value assigned by the GRP service operator when signing up.

policy

provider

Yes

The relying party selects eID provider using the argument "provider". Examples are "bankid", "freja" and "nias"

provider

displayName

Yes

Name of the certificate to be used by the IdP

rpDisplayName

requestType

No

Which type of request, "AUTH" for authentication and "SIGN" for signing. Defaults to AUTH if not specified.

transactionId

Yes

A client provided random string unique for the specific authentication or sign request. UUID format is recommended. The same value is returned in the response and this is used for tracing and logging purposes.

transactionId

endUserInfo

Yes

IP-address of the end-user connected to the RP.

endUserInfo.IP_ADDR

orgIdIssuer

No

Only used for Freja Organisation ID. Can be set to "ANY" to allow organisation IDs set by other Relying Parties.

callInitiator

Conditional

Indicate if the user or RP initiated the phone call. Possible values are "USER" and "RP".

NB: This must be present if flowType is set to "PHONE", as this is a required parameter for a BankID phone auth/sign request. Otherwise it can be left out or with an empty value.

flowType

No

Specify what type of flow the request is for. Currently only supports one value "PHONE", used for BankID phone auth/sign. Defaults to regular BankID auth/sign if not specified. 

NB: If this parameter is active and set to "PHONE", then it's required to also use the parameter "callInitiator".

Example

https://eid-connect.test.funktionstjanster.se/grp/v3/init?serviceId=cgitest001&provider=bankid&requestType=AUTH&displayName=CGI+Sverige+AB+Test&transactionId=l8ng1BYH&endUserInfo=127.0.0.1

 

Header:

Host: eid-connect.test.funktionstjanster.se

Accept-Encoding: gzip, deflate

Accept: */*

Content-Type: application/json

accessToken: 01010101-0101-0101-0101-010101010101

...