When authenticating a user for a WorkOS Connect application, this is the endpoint they should be redirected to. If they’re not already logged in, the user will be redirected to the AuthKit login page. For a third-party application, the user will have to authorize the application’s access on their first access.
curl https://<subdomain>.authkit.app/oauth2/authorize -G \ -d "client_id=client_01JP8BD0CZ401TDF9X54NT5ZEK" \ -d "nonce=4QWsQj7bUUkCXnoC" \ --data-urlencode "redirect_uri=https://app.example.com/callback" \ -d "response_type=code" \ --data-urlencode "scope=openid profile email offline_access" \ -d "state=GPc459ttUQhB9oPn"
GET/oauth2 /authorizeParameters Returns