OdysseyMomentum / Conduction

ID-Vault takes away the hassle of wallets and blockchain by providing a free and easy to implement OAuth interface and unlocking variable credentials, claims and proof. Ever implemented Facebook or Gmail? Then ID-Vault should be a breeze !
http://dev.id-vault.com/
0 stars 0 forks source link

Single Sign On #13

Open rubenvdlinde opened 4 years ago

rubenvdlinde commented 4 years ago

To be honest, setting up single sign on is super easy, once you have setup OAUTH. Basically you just skip the first part of the OAuth implementation and set up an endpoint on which a user land (users will be forwarded form there ID-Vault SSO dashboard) , the user will again be provided with the code and state parameters when they hit your endpoint. Do this time the state will be a key provided by you during setup.

You can than use the code to acquire an access token normally and use that acces token to obtain user info and handle the login normally. Be aware that you need the single_sign_on scope for the user, this does mean that the user will need have to have authorized your application in the past (which implies that a regular login/registration has taken place in the past).