Manage OAuth clients, generate credentials, and integrate "Continue with f0undr"
<script src="https://auth.f0undrteam.site/sdk.js"></script> <div data-f0undr-client-id="YOUR_CLIENT_ID" data-f0undr-redirect-uri="https://yourwebsite.com/auth/callback" data-f0undr-theme="dark" data-f0undr-shape="pill" ></div>
const f0undrProvider = {
id: "f0undr",
name: "f0undr",
type: "oauth",
wellKnown: "https://auth.f0undrteam.site/.well-known/openid-configuration",
clientId: process.env.F0UNDR_CLIENT_ID,
clientSecret: process.env.F0UNDR_CLIENT_SECRET,
profile(profile) {
return {
id: profile.sub,
name: profile.name,
email: profile.email,
image: profile.picture,
};
},
};