I am developing an app for Google assistant and I need a suggestion about the authentication of users for my app so that i can manage their data according to their unique id. I am using Firebase as the database and I think that authenticating the user with a Gmail account is the best way to go about it. So is this possible? I'm also taking other suggestions.
Is there any way to authenticate the users for my google assistant app?
1k Views Asked by Muhammad Zumair At
2
There are 2 best solutions below
2
Ido Green
On
Yes - You can authenticate you users in your assistant app. You will need to use the OAuth 2.0 flows and follow these steps: https://developers.google.com/actions/identity/account-linking
Btw, there is a good question and great answer on how to do it here: How to authenticate user with just a Google account on Actions on Google?
(!) One important thing to remember is that are the moment you need to use your own OAuth server and not use providers.
Related Questions in AUTHENTICATION
- Authenticate Flask rest API
- Sends a personalised error message from the back-end to the front-end with Nuxt-auth
- How to connect Spotify PKCE Authorization Boilerplate to Login-Button in React
- Laravel SPA auth with Sanctum
- _supabaseClient__WEBPACK_IMPORTED_MODULE_1__.supabase.auth.signIn is not a function
- My openID Authentication return 'You must have either https wrappers or curl enabled.'
- How to detect the Minimization of Custom Chrome Tabs on Android?
- Wordpress redirect to homepage after successfully logged in
- How to modify the prebuilt UI of authentication in aws amplify version 6 in React Native
- Creating a login system for my website, navlist not working?
- Receiving 400 bad request on post when customer auth handler is used
- Creating Azure B2B login system with Vue.js frontend & Python Django backend
- Gradio chatbot: how to export individual conversation histories?
- Set-Cookie header not forwarded by nginx to the client
- git asking for authentication when auth.json is present while running composer update
Related Questions in DIALOGFLOW-ES
- Dialogflow failing to dectect the correct intent
- Dialogflow Webhook response format (Dialogflow messenger)
- How to integrate form in Dialogflow CX?
- Google Dialogflow Messenger Integrations not working
- Can I use other voices than »standard« and »wavenet« for Dialogflow within Twilio?
- Error using DialogflowPHP: How do i use Dialogflow PHP?
- when trying to implement DialogFlowtter in flutter , I get error for .fromFile()
- Dialogflow returns an empty list of conversations
- not able to connect mongodb with dialogflow
- time capturing in appropriate while doing conversation in morning
- datastore not working when we declare intent route to a page containing datastore in DialogFlow CX
- Consecutive questions in DialogFlow ES
- Empty response being returned on setting up too many dialogflow web integrations in the website
- Creating an In-Bot Language Selection Menu for a Multilingual Dialogflow Agent
- Google Dialogflow es - I get few intents repeated twice- happens where i have dynamic values
Related Questions in ACTIONS-ON-GOOGLE
- Trying to write a string to return a value from a device in Google Home Script Editor
- Why is android blocking access to the app specific internal storage folder (and preferences) in release build only?
- Google Smart Speaker How To Make Use Custom Intent?
- Question on Chrome's Certificate Revocation Checking
- Can I prevent Google Assistant from trying to interpret the contents of a PDF email attachment
- Can’t get Actions on Google Account linking working with AWS Cognito using Google Authentication
- Not able to get the GetGuestNetworkPassword trait work on the router device
- Cannot list all files and folder in Google Drive using Device Code (OAuth 2.0 for TV and Limited-Input Device Applications)
- Testing an Action for Google Home post production deploy
- Trying to authenticate with smtp.gmail.com via XOAUTH2
- WebAuthn conditional UI doesn't show up on Chrome
- Google Home Smart Home sync failing even though JSON is valid
- Emergency SOS settings
- Smart Home Set-top Box Volume traits showing error
- Google Action Smart Home Set-top Box sample
Related Questions in CONVERSATION-SCOPE
- Using PrettyFaces to Manage JSF Conversation ID Without It Being Included in the URL on Postback
- I don't understand how the @ConversationScoped annotation works in CDI
- What Slack scopes are needed for adding a bot to private channels using conversations.join API method?
- Seam @Scope(ScopeType.CONVERSATION) behaves like request scoped
- A/V calls in Conversations (xmpp)
- Proper way to handle multiple injected @ConversationScoped beans
- Is it safe to mark the CDI conversation interface as transient?
- PrimeFaces 6.2 issue with CDI Conversations
- Starting a CDI conversation and injecting @ConversationScoped bean into stateless session bean
- ConversationScoped EntityManager
- Is there any way to authenticate the users for my google assistant app?
- JSF/CDI: End Conversation after page renders?
- p:gmap onPointClick calling postconstruct conversationscoped
- difference between Transaction and Conversation in Java
- Hierarchical Application Context and Standard-Scopes and Custom-Scopes
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You have a couple of options here, depending on your needs.
If all you want to do is track repeat visitors to your Action, then you can use the anonymous userId that is available. This isn't really "authentication" and it certainly isn't a user identity, but if you get the same userId from a session, you know it is the same user that visited before with that userId.
If you already have accounts for your system, then going with Account Linking, as @ido-green has suggested is preferable, although significantly more complicated to setup.