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

How to check if a user is authenticated, and if not, force authentication? #365

Open
nicholsonjf opened this issue Dec 18, 2023 · 0 comments

Comments

@nicholsonjf
Copy link

I have the login part working. When a user visits /wp-admin they're forced to authenticate with our Idp. We want to make certain posts only available to authenticated users. When loading a non-admin page, how do I check that the user is SAML authenticated and if not force them to authenticate?

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

1 participant