There are three major user authentication pages which can be used by products.
Login to Product
https://cofor.io/oauth/login?product={PRODUCT_ID}&redirect_uri={LOGIN_URL}
Send the user to the above URL with your product's product identifier with the redirect_uri URL query parameter set to where you want Cofor.io to send the user authorization token upon login. This could be a page like https://my.product.com/login
See Login to Product for more information on the login OAuth flow.
(B2C) Signup to Product
https://cofor.io/oauth/create?mode=b2c&product={PRODUCT_ID}&redirect_uri={LOGIN_URL}
Send the user to the above URL with your product ID and the redirect_uri set to where you want Cofor.io to send the user signup token (user authorization to create a membership on their behalf). This could be a page like https://my.product.com/signup
See (B2C) Signup to Product for more information on the team creation OAuth flow.
(B2B) Create a new Team
https://cofor.io/oauth/create?mode=b2b&product={PRODUCT_ID}&redirect_uri={LOGIN_URL}
Send the user to the above URL with your product ID and the redirect_uri set to where you want Cofor.io to send the team creation token (user authorization to create a team on their behalf). This could be a page like https://my.product.com/signup
See (B2B) Create a new Team for more information on the team creation OAuth flow.
