GTMAppAuth icon indicating copy to clipboard operation
GTMAppAuth copied to clipboard

Question: Auth without client secret?

Open CharlieReece opened this issue 4 years ago • 1 comments

I am using GoogleSignIn SDK for mobile apps and I do not use client secrets there. Now, to add Google Sign In support for macOS app, it seems like I need to use this library but it requires "client secret" to be embedded in the client app itself. Am I missing something here? If not, then, is there any other way to use Google Sign In wihout using client secrets on macOS?

CharlieReece avatar May 17 '20 08:05 CharlieReece

I was facing the same issue in macOS App. Remove ClientSecret Key value pair from info.plist. So, it will return "" when it will be access due to being nil. And that's what we need to do. It's working by doing so.

Source File : GAppAuth.swift image

m-afham avatar Jan 29 '21 09:01 m-afham