Google maps api in lock file?

Hi there,

I am looking to implement an address autocomplete with Google maps and was wondering if it’s recommended to put the api key in the lock file.
Lastly, wondering if there are any examples of this.


1 Like

Hey there!

Have you tried checking that document from Google?

It should provide you with tips on that!

Hi @konrad.sopala

Thanks for getting back to me.
Question is around security of lock file if it’s a public file?
Do you have examples of implementation?


What stack specifically are you using?

I am using Angular 12

@konrad.sopala forgot to tag you

I researched our docs and SDKs and there’s nothing about storing API keys in lock file and to be honest I’ve never heard about people doing it. Why have you actually started considering it instead of doing it some other way?

I want to add a custom address field that uses Google maps api when a user signs up. I’m guessing I will have to use the SDK to build a custom sign up and login? @konrad.sopala

Yes, that;s correct! How to do it with Lock:

@konrad.sopala a couple last questions… how can I reset my lock file ? And how can I get user info who’ve signed up/logged in via Google? Does that get registered in auth0 ?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.