From 2aebe770deb21e7ce8a8211ff267711977e57830 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kruli=C5=A1?= Date: Sat, 27 Mar 2021 01:01:32 +0100 Subject: [PATCH] Updated External Authenticators (markdown) --- External-Authenticators.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/External-Authenticators.md b/External-Authenticators.md index c824b7e..d00b10c 100644 --- a/External-Authenticators.md +++ b/External-Authenticators.md @@ -33,7 +33,7 @@ The JWT token must hold following properties in the payload. * `role` - role identifier (`student`, `supervisor`, ...), needed for the registration, have no effect on authentication (optional) * `instanceId` - ID of an instance where the user should be registered if missing (optional) -Actually, the token is loaded into [UserData](https://github.com/ReCodEx/api/blob/master/app/helpers/ExternalLogin/UserData.php) structure. For more details, se its declared properties for other optional JWT items. +Actually, the token is loaded into [UserData](https://github.com/ReCodEx/api/blob/master/app/helpers/ExternalLogin/UserData.php) structure. For more details, see its declared properties. The token must be signed using a secret string that is shared between ReCodEx and external authentication service. Core-api holds this string in `jwtSecret` property of the authenticator configuration.