Skip to content

Commit 1bb8bef

Browse files
committed
.env.example changes reverted
1 parent 763ca2e commit 1bb8bef

3 files changed

Lines changed: 21 additions & 4 deletions

File tree

auth0_flutter/example/.env.example

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Your Auth0 Domain.
3+
#
4+
AUTH0_DOMAIN=YOUR_AUTH0_DOMAIN
5+
#
6+
# The Client Id of your Auth0 application.
7+
#
8+
AUTH0_CLIENT_ID=YOUR_AUTH0_CLIENT_ID
9+
#
10+
# The custom scheme for the Android callback and logout URLs.
11+
# Only set a value if you prefer not to use the default scheme (https).
12+
# If you set a value:
13+
# 1. Update the Android callback and logout URLs in the
14+
# settings page of your Auth0 application with the custom scheme value.
15+
# 2. Update the scheme value in android/app/src/main/res/values/strings.xml
16+
#
17+
AUTH0_CUSTOM_SCHEME=YOUR_AUTH0_CUSTOM_SCHEME

auth0_flutter/example/lib/example_app.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class _ExampleAppState extends State<ExampleApp> {
5151
}
5252

5353
final result = await webAuth.login(
54-
useHTTPS: false,
54+
useHTTPS: true,
5555
scopes: {'openid', 'profile', 'email', 'offline_access'},
5656
);
5757
await auth0.credentialsManager.storeCredentials(result);
@@ -83,7 +83,7 @@ class _ExampleAppState extends State<ExampleApp> {
8383
if (kIsWeb) {
8484
await auth0Web.logout(returnToUrl: 'http://localhost:3000');
8585
} else {
86-
await webAuth.logout(useHTTPS: false);
86+
await webAuth.logout(useHTTPS: true);
8787

8888
setState(() {
8989
_isLoggedIn = false;

auth0_flutter/example/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ flutter:
5757
# the material Icons class.
5858
uses-material-design: true
5959

60-
assets:
61-
- .env
60+
# assets:
61+
# - .env
6262

6363
# To add assets to your application, add an assets section, like this:
6464
# assets:

0 commit comments

Comments
 (0)