ajram23

Results 40 comments of ajram23

Can you please add support for this. Would be very valuable!

Thanks @jlowin! That was quick! much appreciated!

@adam-fowler thanks for getting back right away. Creating a helper app inside a Mac app so on a different target.

@parthea any thoughts on this issue? I have even tried the offline_access mode but it doesnt work "Access blocked: Contact Assistant’s request is invalid". Any help is greatly appreciated!

Thanks for getting back @clundin25 1. Mac Client - GoogleSign 7.1 / Python -> google_api_python_client==2.132.0, google_auth_oauthlib==1.2.0 2. Yes, the python server app can refresh data on a regular basis. It...

@clundin25 Here you go def get_service(max_retries=3, backoff_factor=0.5): """Generate a Google API service object using provided tokens.""" app_logger.info("Attempting to get Google API service") for attempt in range(max_retries): app_logger.info(f"Attempt {attempt + 1}...

Here you go: ``` def verify_and_refresh_token(creds): if not creds.valid: if creds.expired and creds.refresh_token: try: creds.refresh(Request()) save_tokens(creds) return True except RefreshError as e: app_logger.error(f"Failed to refresh token: {str(e)}") return False else:...

@clundin25 please let me know if you need anything else.

@clundin25 Apologies missed this notification. No, I am using one token created for the iOS/Mac (with bundle ID) and the other created from the server(Web with authorized redirect to http://127.0.0.1:5002/oauth2callback)....

@clundin25 Can we please take a step back and make sure i have the right flow. Here is my understanding and set up. Setup: 1. Mac app (Mac client OAuth...