Authentication

OIDC Response with Swedish BankID

3290 views December 12, 2017 October 10, 2019 2

An example of how to use the access token to return a JSON response containing the end-user’s information:

UserInfo request:

curl -XGET "https://preprod.signicat.com/oidc/userinfo" -H "Authorization: Bearer ACCESS_TOKEN"

 

UserInfo response:

{ 
	"family_name": "Signicat", 
	"given_name": "John", 
	"locale": "SE", 
	"name": "John Signicat", 
	"signicat.national_id": "199010275312", 
	"sub": "KGMyh5FBCMTkEN934sOLyyBS0rPd4-up", 
	"subject.nameid.namequalifier": "BANKID-SE" 
}

 

Was this helpful?