Yes, if you configure your tool as an SSO provider
Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso)