You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to use Installed app API. Created an app, installed url_launcher and uni_links. However, can't wrap my head how the redirect would work. Created a scheme myapp://auth as per instructions here. The redirect is not happening, hence the app is not opening after authentication.
I, also, tried to redirect to google.com, still no luck. Here's a little visual representation of me trying to redirect to google.com:
And this is my code:
final redirectURI = "google.com"
final reddit = Reddit.createInstalledFlowInstance(
clientId: clientID,
userAgent: userAgent,
configUri: Uri.parse('draw.ini'),
redirectUri: Uri.parse(redirectURI),
);
// Build the URL used for authentication. See `WebAuthenticator`
// documentation for parameters.
var uuid = Uuid();
var state = uuid.v1();
final auth_url = reddit.auth.url(["identity"], state, compactLogin: false);
The text was updated successfully, but these errors were encountered:
Trying to use Installed app API. Created an app, installed url_launcher and uni_links. However, can't wrap my head how the redirect would work. Created a scheme
myapp://auth
as per instructions here. The redirect is not happening, hence the app is not opening after authentication.I, also, tried to redirect to google.com, still no luck. Here's a little visual representation of me trying to redirect to
google.com
:And this is my code:
The text was updated successfully, but these errors were encountered: