Skip to content

Commit

Permalink
update credenciales auth0
Browse files Browse the repository at this point in the history
  • Loading branch information
StoicSilver committed Oct 7, 2024
1 parent 957564c commit 8287741
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
26 changes: 13 additions & 13 deletions .env
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#AGREGAR API KEY DE GOOGLE MAPS:
NEXT_PUBLIC_GOOGLE_MAPS_API_KEY=
NEXTAUTH_URL=http://localhost:3000
NEXT_PUBLIC_SIGNIN_REDIRECT_URL=/user/profile
NEXT_PUBLIC_DOMAIN=http://localhost:3000
#CAMBIAR A DOMINIO DE PRODUCCION:
NEXT_PUBLIC_API_URL=http://localhost:8000
# #AGREGAR API KEY DE GOOGLE MAPS:
# NEXT_PUBLIC_GOOGLE_MAPS_API_KEY=
# NEXTAUTH_URL=http://localhost:3000
# NEXT_PUBLIC_SIGNIN_REDIRECT_URL=/user/profile
# NEXT_PUBLIC_DOMAIN=http://localhost:3000
# #CAMBIAR A DOMINIO DE PRODUCCION:
# NEXT_PUBLIC_API_URL=http://localhost:8000

# Auth0 env variables
#COMPLETAR:
NEXT_PUBLIC_AUTH0_CLIENT_ID=15sdejCzUFK03CrkNMeJJTVYxsajbth0
NEXT_PUBLIC_AUTH0_DOMAIN=dev-pposjm7jmfxhpepv.us.auth0.com
NEXT_PUBLIC_LOGIN_REDIRECT_URL=http://localhost:3000/post/CreateProperty
NEXT_PUBLIC_LOGOUT_REDIRECT_URL=http://localhost:3000
# # Auth0 env variables
# #COMPLETAR:
# NEXT_PUBLIC_AUTH0_CLIENT_ID=15sdejCzUFK03CrkNMeJJTVYxsajbth0
# NEXT_PUBLIC_AUTH0_DOMAIN=dev-pposjm7jmfxhpepv.us.auth0.com
# NEXT_PUBLIC_LOGIN_REDIRECT_URL=http://localhost:3000/post/CreateProperty
# NEXT_PUBLIC_LOGOUT_REDIRECT_URL=http://localhost:3000

6 changes: 3 additions & 3 deletions geomapp/.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
AUTH0_AUDIENCE='https://geomapp-auth0.com'
AUTH0_DOMAIN='dev-cry4u1cfzw5tvn48.us.auth0.com'
AUTH0_CLIENT_ID='emBP1HbVJ1ltKKluxpiVA0wye8USrA4Z'
AUTH0_AUDIENCE='https://geomap/'
AUTH0_DOMAIN='dev-7w1no2zl1opt24if.us.auth0.com'
AUTH0_CLIENT_ID='QrElcRF9AI2H6dRBwCChbc04JvtKygJo'
8 changes: 4 additions & 4 deletions geomapp/src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ const root = ReactDOM.createRoot(document.getElementById('root'));

root.render(
<Auth0Provider
domain='dev-cry4u1cfzw5tvn48.us.auth0.com'
clientId='emBP1HbVJ1ltKKluxpiVA0wye8USrA4Z'
domain='dev-7w1no2zl1opt24if.us.auth0.com'
clientId='QrElcRF9AI2H6dRBwCChbc04JvtKygJo'
authorizationParams={{
redirectUri: window.location.origin,
audience: 'https://geomapp-auth0.com',
redirectUri: window.location.origin,
audience: 'https://geomap/',
}}
cacheLocation="localstorage"
>
Expand Down

0 comments on commit 8287741

Please sign in to comment.