Handkit.get_redirection_url

You're seeing just the function get_redirection_url, go back to Handkit module for more information.
Link to this function

get_redirection_url(app_id, query \\ %{}, env \\ :prod)

View Source

Specs

get_redirection_url(String.t(), map(), Handkit.Connect.env()) :: String.t()

Returns a redirection URL for the given app ID.

Your app should redirect the user and they will be asked to grant your app permissions.

Once the user selects accept or decline, they will be redirected back your app's Authorization Success URL or Authorization Failed URL.

You app must handle that request and capture the authToken parameter.

Example

iex> redirect_url = Handkit.get_redirection_url("123456789")
"https://app.handcash.io/#/authorizeApp?appId=123456789"