Get credentials
1
Create an app
Go to the Yahoo Developer Console and create a new app. Select Web Application as the application type.Set the Callback Domain and add your redirect URI:2
Copy your credentials
After creating the app, copy the Client ID (Consumer Key) and Client Secret (Consumer Secret).Configuration
lib/kavach.ts
Scopes
Default scopes:openid, profile, email
Yahoo requires the OpenID Connect API to be explicitly enabled in your app’s API permissions. Without it, the token endpoint will return an error even if
openid is in the scope.