Skip to content

Commit ff1c7ee

Browse files
committed
Add signature test links to Freja docs.
These point to the Authorize URL Builder pre-configured with text and options to try a signature flow.
1 parent a35f907 commit ff1c7ee

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/pages/verify/e-ids/frejaid.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ The text must be provided in the `login_hint` using the `message` hint.
195195
The text must be base64 encoded and no longer than 4096 characters (prior to base64 encoding).
196196
The text will be shown to the user in the Freja app while authenticating.
197197

198+
[Try out an example Simple signature in our Authorize URL builder.](/verify/guides/authorize-url-builder/?acr_values=urn:grn:authn:se:frejaid&frejaAction=sign&message=Test%20simple%20signature%20flow&title=Simple%20signature)
199+
198200
### Extended signatures
199201
Extended signatures can be used to sign plain text and some additional binary data.
200202
The Extended signature flow is activated by adding `action:sign_extended` in the `login_hint`.
@@ -203,6 +205,8 @@ Both the text and the binary data must be base64 encoded.
203205
The text must be no longer than 4096 characters and the binary data no larger than 5 MB (both prior to base64 encoding).
204206
The text will be shown to the user in the Freja app while authenticating, but the binary data will not be shown to the user.
205207

208+
[Try out an example Extended signature in our Authorize URL builder.](/verify/guides/authorize-url-builder/?acr_values=urn:grn:authn:se:frejaid&frejaAction=sign_extended&message=Test%20extended%20signature%20flow&nonVisibleData=TEST_BINARY_DATA&title=Extended%20signature)
209+
206210
### Advanced signatures
207211
Advanced signatures can be used to sign plain text and receive a response that is compatible with the "Mina meddelanden" digital communication platform in Sweden.
208212
The Advanced signature response is tied to the user's personal data and can be independently validated.
@@ -215,6 +219,8 @@ Advanced signatures are only available for Swedish users.
215219
Advanced signatures require the Social Security Number and the Basic User Information (i.e. name) of the user.
216220
These scopes will automatically be added to your request if the Advanced signature flow is activated.
217221

222+
[Try out an example Advanced signature in our Authorize URL builder.](/verify/guides/authorize-url-builder/?acr_values=urn:grn:authn:se:frejaid&frejaAction=sign_advanced&message=Test%20advanced%20signature%20flow&title=Advanced%20signature)
223+
218224
### Signature responses
219225
When the user has approved a Simple or an Extended signature, the JWT will contain the claims `certificateStatus` and `userSignature`.
220226
When the user has approved an Advanced signature, the JWT will contain the claims `certificateStatus`, `userSignature` and `advancedSignature`.

0 commit comments

Comments
 (0)