Passport-social script failed in 4.3.2 beta + mysql
See original GitHub issueDescribe the issue
Passport-social script failed
Steps To Reproduce
Steps to reproduce the behaviour:
- Go to admin UI
- Go to passport
- Add a new passport external provider
- set default acr to passport-social
- try to login with passport external porvider
Expected behaviour
user must be login
Actual behaviour
when user clicks on external provider on login page, the page reloads
Config
Gluu-server 4.3.3beta+mysql
Ubuntu20.04
logs
2022-03-03 09:33:31,554 TRACE [qtp1966250569-20] [org.gluu.oxauth.service.external.ExternalAuthenticationService] (ExternalAuthenticationService.java:279) - Executing python 'getExtraParametersForStep' authenticator method
2022-03-03 09:33:31,554 INFO [qtp1966250569-20] [org.gluu.service.PythonService$PythonLoggerOutputStream] (PythonService.java:243) - Passport. getExtraParametersForStep called
2022-03-03 09:33:31,930 TRACE [qtp1966250569-19] [org.gluu.oxauth.service.external.ExternalAuthenticationService] (ExternalAuthenticationService.java:400) - Validating acr_values: 'passport_social'
2022-03-03 09:33:31,930 DEBUG [qtp1966250569-19] [org.gluu.oxauth.service.external.ExternalAuthenticationService] (ExternalAuthenticationService.java:167) - Executing python 'isValidAuthenticationMethod' authenticator method
2022-03-03 09:33:31,930 TRACE [qtp1966250569-19] [org.gluu.oxauth.service.external.ExternalAuthenticationService] (ExternalAuthenticationService.java:265) - Executing python 'prepareForStep' authenticator method
2022-03-03 09:33:31,931 INFO [qtp1966250569-19] [org.gluu.service.PythonService$PythonLoggerOutputStream] (PythonService.java:243) - Passport. prepareForStep called 1
2022-03-03 09:33:31,931 INFO [qtp1966250569-19] [org.gluu.service.PythonService$PythonLoggerOutputStream] (PythonService.java:243) - Passport. parseAllProviders. Adding providers
2022-03-03 09:33:31,935 INFO [qtp1966250569-19] [org.gluu.service.PythonService$PythonLoggerOutputStream] (PythonService.java:243) - Passport. parseProviderConfigs. Configured providers:
2022-03-03 09:33:31,935 INFO [qtp1966250569-19] [org.gluu.service.PythonService$PythonLoggerOutputStream] (PythonService.java:243) - {u'Google': {'requestForEmail': False, 'displayName': u'Google', 'emailLinkingSafe': False, 'type': u'oauth', 'logo_img': None, 'saml': False}}
2022-03-03 09:33:31,938 INFO [qtp1966250569-19] [org.gluu.service.PythonService$PythonLoggerOutputStream] (PythonService.java:243) - Passport. getPassportRedirectUrl. Obtaining token from passport at https://ubos.gluu.org/passport/token
2022-03-03 09:33:31,957 INFO [qtp1966250569-19] [org.gluu.service.PythonService$PythonLoggerOutputStream] (PythonService.java:243) - Passport. getPassportRedirectUrl. Response was 503
2022-03-03 09:33:31,957 INFO [qtp1966250569-19] [org.gluu.service.PythonService$PythonLoggerOutputStream] (PythonService.java:243) - Passport. getPassportRedirectUrl. Error building redirect URL:
2022-03-03 09:33:31,957 INFO [qtp1966250569-19] [org.gluu.service.PythonService$PythonLoggerOutputStream] (PythonService.java:243) - expected string or buffer, but got <type 'NoneType'>
2022-03-03 09:33:31,957 INFO [qtp1966250569-19] [org.gluu.service.PythonService$PythonLoggerOutputStream] (PythonService.java:243) - Passport. prepareForStep. A page to manually select an identity provider will be shown
2022-03-03 09:33:31,957 TRACE [qtp1966250569-19] [org.gluu.oxauth.service.external.ExternalAuthenticationService] (ExternalAuthenticationService.java:279) - Executing python 'getExtraParametersForStep' authenticator method
2022-03-03 09:33:31,958 INFO [qtp1966250569-19] [org.gluu.service.PythonService$PythonLoggerOutputStream] (PythonService.java:243) - Passport. getExtraParametersForStep called
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
4.3.2 mysqld_safe — MySQL Server Startup Script
If the file does not exist or is otherwise inaccessible, the server exits with an error. If file_name is not an absolute path...
Read more >4.3.3 mysql.server — MySQL Server Startup Script
server exits with an error. The default value is 900. A value of 0 means not to wait at all for startup. Negative...
Read more >4.3.2 Making a Differential or Incremental Backup
MySQL Enterprise Backup treats differential backup as a special case of incremental backup that has a full backup as its base. To create...
Read more >B.3.3.2 How to Reset the Root Password
On Windows, use the following procedure to reset the password for the MySQL 'root'@'localhost' account. To change the password for a root account...
Read more >10.12.2 errors.Error Exception - MySQL :: Developer Zone
This exception is the base class for all other exceptions in the errors module. It can be used to catch all errors in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@jgomer2001 no passport service is active
this issue is tested and fixed.