ESUP-OTP

Arborescence des pages

Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

...

Authentification NFC avec application Esup-Auth

NB : utilise ESUP-NFC-TAG-SERVER

Bloc de code
@startuml
actor Browser
note over Browser : « S'authentifier avec sa carte multi-service\nsur un Smartphone compatible NFC » dans cas/otp
Browser -> otp_api: XHR GET /esupnfc/infos?requireQrCode=true
otp_api -> Browser: {"code":"Ok","server_infos":{... "qrCode":\n    <font color=blue>image svg contenant</font> {\n     "numeroId":"xxx",\n     "url":"https://esupnfctag.univ.fr/",\n     "etablissement":"Université XXX" }\n} }

note over Browser : affiche le qrCode

participant esup_nfc_tag_server
actor Esup_Auth

group Si besoin : configurer l'authentification NFC
note over Esup_Auth : « Scanner QR code »
note over Esup_Auth : stocke numeroId, url et etablissement
end

|||

note over Esup_Auth : Utilisateur choisit « NFC Université XXX »
note over Esup_Auth : place la carte sous l'appareil
group Lecture de la carte
Esup_Auth -> esup_nfc_tag_server: /desfire-ws?result=...&cardId=...hexa...&numeroId=xxx
end
esup_nfc_tag_server -> otp_api: POST /esupnfc/isTagable { ... }
otp_api -> esup_nfc_tag_server: "OK"
esup_nfc_tag_server -> otp_api: POST /esupnfc/validateTag { eppn: "..." }
otp_api --> Browser: dans WebSocket ["userAuth", { code: "Ok", otp: "123456" }]
otp_api -> esup_nfc_tag_server: { "code": "Ok" }
note over Browser : OTP ok. Propose le choix rememberMe
@enduml

...