Ueberauth Feishu v0.0.2 Ueberauth.Strategy.Feishu.OAuth View Source
An implementation of OAuth2 for feishu.
To add your client_id
and client_secret
include these values in your configuration.
config :ueberauth, Ueberauth.Strategy.Feishu.OAuth,
client_id: System.get_env("FEISHU_APPID"),
client_secret: System.get_env("FEISHU_SECRET")
Link to this section Summary
Functions
Generate authorize url
Provides the authorize url for the request phase of Ueberauth. No need to call this usually.
Construct a client for requests to Feishu.
Perform HTTP GET action
Get token from Feishu
Get token
Link to this section Functions
Generate authorize url
Provides the authorize url for the request phase of Ueberauth. No need to call this usually.
Construct a client for requests to Feishu.
Optionally include any OAuth2 options here to be merged with the defaults.
Ueberauth.Strategy.Feishu.OAuth.client(redirect_uri: "http://localhost:4000/auth/feishu/callback")
This will be setup automatically for you in Ueberauth.Strategy.Feishu
.
These options are only useful for usage outside the normal callback phase of Ueberauth.
Perform HTTP GET action
Get token from Feishu
Get token