Skip to content
New issue

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

Fallback URI not showing in options #902

Closed
4 tasks done
HPiirainen opened this issue May 30, 2024 · 0 comments
Closed
4 tasks done

Fallback URI not showing in options #902

HPiirainen opened this issue May 30, 2024 · 0 comments

Comments

@HPiirainen
Copy link
Contributor

Checklist

  • I have looked into the Readme and the documentation, and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

Fallback URI should be shown when viewing Auth0 options in WP admin, but the plugin never goes inside this if, since $this->getPlugin()->getOption('authentication', 'allow_fallback', 0); returns (string) 'true'|'false', not a boolean value.

Reproduction

  1. Go to Auth0 > Advanced in WP admin.
  2. Text Your fallback URI is ... under Fallback secret field is never shown.

Additional context

No response

wp-auth0 version

5.2.0

WordPress version

6.5.3

PHP version

8.3.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants