opengovsg / mockpass

A mock SingPass/CorpPass/MyInfo server for dev purposes
https://blog.data.gov.sg/mockpass-a-mock-singpass-corppass-server-for-testing-in-development-a583193c898c
MIT License
83 stars 82 forks source link

Update assertions.js to support SFA #681

Closed zheyu1991 closed 3 weeks ago

zheyu1991 commented 1 month ago

Problem

https://stg-id.singpass.gov.sg/docs/authorization/api, Regular NRIC holders sub claim content include NRIC and UUID (eg. s=S1234567A,u=32af8b7d-ad1d-4c25-8dc7-0a981b533000) Singpass Foreign Account holders sub claim content include: Singpass User ID (UID), Foreigner ID (FID), Country-of-Issuance (COI) and UUID (e.g. s=Y7613265T,fid=G730Z-H5P96,coi=DE,u=e2af740e-25b4-4b19-b527-494670952cb0)

Closes [insert issue #]

Solution

How did you solve the problem?