Hi,
The Firebase example is not working. I added keys properly, however when connecting I only see the program opening a browser (probably for authentication) but is not loaded. Besides that, is not possible to authenticate without opening the browser? This is definitely not elegant and professional for me to implement this in a program.
Thx
- Please set AdvFireBaseObjectDatabase.ExternalBrowser = true. This is a new requirement from Google.2) At least a one-time authentication & authorization is needed. This is a fundamental security principle of OAUTH2 After this one-time authentication & authorization and access & refresh token is obtained, can be persisted and can be reused without further authentication.
Thx Bruno for prompt response. I will try it soon.
In our TMS VCL & FMX Cloud Pack, all access to cloud services is based on the OAUTH 2 implementation and all components build upon this common layer to do OAUTH2 based access control. This is a standard: https://oauth.net/2/ and is consistent on every platform.
Hi,
The instructions to generate a client id and secret which should be assigned to the FAppKey and FAppSecret respectively are found on the same page:
After all the correct settings, it presents the problem below:
400. That?s an error.
Error: redirect_uri_mismatch
The redirect URI in the request, http://127.0.0.1:8889/, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: https://console.developers.google.com/apis/credentials/oauthclient/169002746094-34hqb5f78ukgs0j1gln65p3okpfcuboj.apps.googleusercontent.com?project=169002746094
Do you see any error messages?
The error message is what was displayed in the previous message.
If the error says: