Function generateAuthorizationUrl

use generateOidcAuthorizationUrl Generate a URL to attempt authorization with the OP See https://openid.net/specs/openid-connect-basic-1_0.html#CodeRequest

  • Parameters

    • authorizationUrl: string

      endpoint to attempt authorization with the OP

    • clientId: string

      id of this client as registered with the OP

    • authorizationParams: AuthorizationParams

      params to be used in the url

    Returns Promise<string>

    a Promise with the url as a string