Skip to content

Authorization Endpoint

The Authorization Endpoint is primarily responsible for handling login requests from “Teachify” users. When users click the “Login” button within the Teachify system, they are redirected to your enterprise’s login page. This step is the initial phase of the OAuth authentication process, aimed at obtaining user consent and performing authentication.

Process

  1. User Interaction: The user selects the login option on the Teachify interface.
  2. Redirection: Teachify redirects the user’s browser to your enterprise’s Authorization Endpoint URL. This URL typically includes necessary query parameters such as response_type, client_id, redirect_uri, and scope.
  3. User Login: Users enter their credentials (e.g., username and password) on your enterprise login page.
  4. Login Confirmation and Authorization Code Issuance: Once the credentials are verified as valid, your enterprise’s OAuth service automatically redirects the user back to the redirect_uri provided by Teachify, along with an authorization code (token).
Example URL
https://yourdomain.com/oauth/authorize?response_type=code&client_id=your_client_id&redirect_uri=https://teachify.com/callback&scope=profile

Key Parameters

  • response_type: Specifies the type of authorization requested. Here, code indicates that the authorization code flow is being used.
  • client_id: The application identifier assigned to Teachify by your enterprise OAuth system during the registration process.
  • redirect_uri: The URI to which the user is redirected after successful authorization, typically carrying the authorization code.
  • scope: Specifies the extent of access that Teachify is requesting to the user’s information. The scope can include details like profile and email, which define the specific data Teachify can access from the user’s account.
  • state: A unique randomly generated value used to mitigate CSRF attacks.