Skip to content

Larscode-io/fas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

FAS Authorization example

test authenticate Belgian e-id with OpenId and Oauth2 in JAVASCRIPT

  1. create config/default.json with your secrets and put your certificates in key2

  2. run with node ./server.js

  3. with your browser go to:

https://idp.iamfas.int.belgium.be/fas/oauth2/authorize?response_type=code&state={state}&scope={scope}&redirect_uri={redirect_uri}&nonce=1244546&client_id={client_id}&acr_values=urn:be:fedict:iam:fas:citizen:Level300

  1. server.js is waiting at {redirect_uri} for something like https://ourserver/auth and will show your NRN after authenticating with your e-id

About

test authenticate Belgian e-id with OpenId & Oauth2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published