We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting Error: login_required: Login required when audience is added in the loginWithRedirect.
audience
Future<void> login() async { try { if (kIsWeb) { return auth0Web.loginWithRedirect( redirectUrl: 'http://localhost:3000', audience: dotenv.env['AUTH0_AUDIENCE'] ); } var credentials = await auth0 .webAuthentication(scheme: dotenv.env['AUTH0_CUSTOM_SCHEME']) // Use a Universal Link callback URL on iOS 17.4+ / macOS 14.4+ // useHTTPS is ignored on Android .login(useHTTPS: true); setState(() { _user = credentials.user; }); } catch (e) { print(e); } }
No response
1.6.0
3.24.4
Web
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Checklist
Description
Getting Error: login_required: Login required when
audience
is added in the loginWithRedirect.Reproduction
audience
(obtained from creating API in Auth0 management console).Additional context
No response
auth0_flutter version
1.6.0
Flutter version
3.24.4
Platform
Web
Platform version(s)
No response
The text was updated successfully, but these errors were encountered: