You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Installing auth0 cli
brew tap auth0/auth0-cli && brew install auth0
# auth0 version 1.28.0 ...
auth0 --version
# auth0 login# will return [AUTH0_TENANT]
auth0 login
# How would you like to authenticate? As a user# ▸ Successfully logged in.# ▸ Tenant: [AUTH0_TENANT]# create app in auth0# This will return your [CLIENT_ID], [CLIENT_SECRET] and other information
auth0 apps create \
--name "Spring Boot" \
--description "Spring Boot Example" \
--type regular \
--callbacks http://localhost:8080/login/oauth2/code/okta \
--logout-urls http://localhost:8080 \
--reveal-secrets
Auth0 Test Login
# auth0 test login
auth0 test login [CLIENT_ID]
# If successfully authenticated should return:
{
user_info: { ... },
tokens: {
"access_token": "ey...",
"id_token": "ey...",
"token_type": "Bearer",
"expires_in": [long]
}
}