Comments (2)
Hi @rimavelez:
Is the Google Apps setup outlined here: https://pantheon.io/docs/wordpress-google-sso/ in addition to or in lieu of the default setup outlined here: https://wordpress.org/plugins/wp-saml-auth/#installation ?
Should be in lieu of.
I am seeing an error when trying to configure with the Google Apps setup here: https://pantheon.io/docs/wordpress-google-sso/ the error reads Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 1 passed and exactly 2 expected
I am seeing an error when trying to configure with the Google Apps setup here: https://pantheon.io/docs/wordpress-google-sso/ the error reads Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 1 passed and exactly 2 expected
There's an error in your code. You'll need to pass a priority and argument count to the filter registration (see the 10, 2
in the following code snippet):
add_filter( 'wp_saml_auth_option', function( $value, $option_name ) {}, 10, 2 );
Hope this helps!
from wp-saml-auth.
@danielbachhuber Thank you very much for your help, that solved it.
I am running into another issue now. After using the one-click authentication, I am redirected back to my site /wp-login.php path but with a 502 error and I am not logged in.
In SAML Chrome panel I see:
<saml2:AttributeStatement>
<saml2:Attribute Name="first_name">
<saml2:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:anyType">Firstname</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="last_name">
<saml2:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:anyType">Lastname</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="user_login">
<saml2:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:anyType">[email protected]</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="user_email">
<saml2:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:anyType">[email protected]</saml2:AttributeValue>
</saml2:Attribute>
</saml2:AttributeStatement>
<saml2:AuthnStatement AuthnInstant="2019-05-12T13:17:00.000Z"
SessionIndex=“_839f029qhd92h0j0j9hd83hd9”>
<saml2:AuthnContext>
<saml2:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified</saml2:AuthnContextClassRef>
</saml2:AuthnContext>
</saml2:AuthnStatement>
I don’t know what urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified means but I am assuming that is the issue. Any insight would be much appreciated.
from wp-saml-auth.
Related Issues (20)
- Change default from simplesamlphp to onelogin or make it UI configurable HOT 3
- PHP Notice Undefined index: sessionIndex HOT 1
- Pantheon possible nginx config issues HOT 1
- Supported PHP version HOT 5
- Provide a wp_saml_auth_pre_logout hook, custom wp_logout function never called HOT 3
- Error on WP 5.8.3 and latest wp-saml-auth 2.0 HOT 3
- Convert readme.txt to readme.md for use on WordPress.org and remove Grunt dependency
- Google SAML failing with multiple accounts
- Feature request: a way to circumvent permit_wp_login=false HOT 2
- How to configure Cloudflare Zero Trust SAML to wp-saml-auth? I'm having trouble.
- How configure IdP initialized logout?
- Problem to authenticate with WordPress MU subsites since latest simplesamlphp HOT 5
- Documentation Request - ADFS as IDP HOT 5
- Checkboxes in plugin settings don't reflect defaults until first save
- Plugin Not Completing Login Process on Server HOT 2
- Auto Provision - Not Allowing Login If Email Exist HOT 5
- Default Role Adjustment HOT 2
- How to check if a user is authenticated, and if not, force authentication?
- [Request] Provide docs for SAML signing and encryption with OneLogin for better security
- [FEAT-1336] WordPress role mapping HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wp-saml-auth.