question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Passport-social script failed in 4.3.2 beta + mysql

See original GitHub issue

Describe the issue

Passport-social script failed

Steps To Reproduce

Steps to reproduce the behaviour:

  1. Go to admin UI
  2. Go to passport
  3. Add a new passport external provider
  4. set default acr to passport-social
  5. 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:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
MohitMaliFtechizcommented, Mar 4, 2022

@jgomer2001 no passport service is active Screenshot from 2022-03-04 18-52-56

0reactions
MohitMaliFtechizcommented, Mar 31, 2022

this issue is tested and fixed.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found