OpenID connect and Social Login for Frappe is now added
I’ve tested it few times.
Developers outside frappe ecosystem can now use their platforms along with frappe.
Now we can develop microservices!
example bearer token with id_token
{
"token_type": "Bearer",
"id_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6Imp3dCJ9.eyJpc3MiOiJodHRwczovL21udGVjaG5pcXVlLmNvbSIsImF0X2hhc2giOiJOQlFXbExJUy1lQ1BXd1d4Y0EwaVpnIiwiYXVkIjoiYjg3NzJhZWQ1YyIsImV4cCI6MTQ3Nzk1NTYzMywic3ViIjoiNWFjNDE2NThkZjFiZTE1MjI4M2QxYTk0YjhmYzcwNDIifQ.1GRvhk5wNoR4GWoeQfleEDgtLS5nvj9nsO4xd8QE-Uk",
"access_token": "ZJD04ldyyvjuAngjgBrgHwxcOig4vW",
"scope": "openid",
"expires_in": 3600,
"refresh_token": "2pBTDTGhjzs2EWRkcNV1N67yw0nizS"
}
Part 1 : on Frappe Identity Provider (IDP)
Login to IDP
Add OAuth Client on IDP
Set Server URL on IDP
Part 2 : on Frappe App Server
Set Frappe Client ID and Frappe Client Secret on App server (refer the client set on IDP)
Note: Frappe Server URL is the main server where identities from your organization are stored.







