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

ADFS connection configuration #375

Open
Tycjann opened this issue Jun 14, 2023 · 2 comments
Open

ADFS connection configuration #375

Tycjann opened this issue Jun 14, 2023 · 2 comments

Comments

@Tycjann
Copy link

Tycjann commented Jun 14, 2023

Using this configuration:

$oidc->setResponseTypes(['id_token token']);
$oidc->addScope(['openid']);
$oidc->setAllowImplicitFlow(true);
$oidc->addAuthParam(['response_mode' => 'form_post']);
$oidc->setRedirectURL('http://localhost:3000/login.php');
$oidc->authenticate();

And I get this error message: "The+authorization+server+does+not+support+the+response+type+%27token%27+for+confidential+clients."

What did I do wrong?

@DeepDiver1975
Copy link
Collaborator

$oidc->setAllowImplicitFlow(true);

wild guess - implicit flow is not supported by adfs?
Generally speaking implicit flow is dead as it is considered insecure

@Tycjann
Copy link
Author

Tycjann commented Jun 14, 2023

Thank you, but unfortunately without flow it doesn't work either.

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