forked from devdennysegura/flutter-auth0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update readmes, add preconfigured auth0 app
- Loading branch information
Greger Wedel
committed
Jul 4, 2019
1 parent
c7bd5c8
commit e0fa12c
Showing
3 changed files
with
25 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
# flutter_auth0 | ||
# flutter_auth0 Example | ||
|
||
A new Flutter project. | ||
A test app for flutter_auth0 | ||
|
||
## Getting Started | ||
## Create a test app in auth0 | ||
|
||
For help getting started with Flutter, view our online | ||
[documentation](https://flutter.io/). | ||
Create a new test app in auth0 dashboard. An Auth0 app allows different types of | ||
authentication flows. To test the basic signup and signin using password, you have to | ||
choose app type Regular web application, choose None as Token Endpoint Authentication Method, | ||
and under Advanced - Grant Types tick off Password as an allowed type. | ||
|
||
To test the web login, you also need to configure callback URLs as described in the main README. | ||
|
||
## Configure the example app | ||
|
||
In example/lib/main.dart, you need to update clientId and domain constants. The already configured id and | ||
domain belongs to a test app (github.com/gregertw) that you may use (NOTE! You need to use a real email | ||
address and the user will show up in the auth0 dashboard of this app). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters