Hey am just wondering if am not using my sdk ( am using rest api) and i have a login with google can I pass the oAuth2 token from the redirect url in the header when making a call? Like in the screenshot instead of the x fallback cookie I put the token
Summary
The user is having trouble authenticating a user with OAuth2 in their Flutter app. They are unsure how to mark a post as solved. They ask for help in extracting a value from a URL. Another user provides a URL and suggests using a deeplink to extract the secret. The user then asks if this can be done in FlutterFlow and with REST API calls. They also ask about the code to be extracted from the redirect URL and which OAuth2 token to use. Lastly, they inquire about passing the OAuth2 token in the header when making API calls. It is recommended not to handle the OAuth2 Auth Code directly and to
Drake
Aug 1, 2023, 22:56
which oAuth2 token?
jaydenclerk
Rank 2: Process
Aug 1, 2023, 22:57
Aren’t we supposed to extract a code from the redirect url?
Drake
Aug 1, 2023, 22:58
im not sure which code you're talking about. there are a couple
jaydenclerk
Rank 2: Process
Aug 1, 2023, 23:02
jaydenclerk
Rank 2: Process
Aug 1, 2023, 23:03
So what am trying to accomplish is similar to when creating a session with email and password I can grab the fallback cookies and use it in any subsequent request, after I authenticate the user with oAuth2 provider I don’t know what my header should be for subsequent requests
Drake
Aug 1, 2023, 23:04
This looks like the OAuth2 Auth Code, which is something you shouldn't be handling.
Drake
Aug 1, 2023, 23:04
in flutter mobile?
jaydenclerk
Rank 2: Process
Aug 1, 2023, 23:07
No I know how to do it with flutter, am using flutterflow right now with rest api call that’s why am lost, i have use oAuth2 with xano in flutterflow am trying it with appwrite now