You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have an Entra App to distribute to clients via an installation link with format https://login.microsoftonline.com/common/adminconsent?client_id=<app-client-id>&redirect_uri=https://<kratos-api-endpoint>/self-service/methods/oidc/callback/<provider>. This link then triggers the following flow https://<kratos-api-endpoint>/self-service/methods/oidc/callback/<provider>?admin_consent=True&tenant=<tenantid>
This results in the following error:
Unable to complete OpenID Connect flow because the OpenID Provider did not return the state query parameter
The Kratos logs show that in fact the query parameters are empty query:<nil>.
Interestingly when opening a new tab and attempting to login, the login flow works. It is only on the initial installation of the app.
Reproducing the bug
Create an Entra App of type Web.
Add a Kratos callback URL.
Attempt to install Entra App in a separate tenant.
Relevant log output
An error occurred and is being forwarded to the error user interface. audience=application error=map[debug: message:The request was malformed or contained invalid parameters reason:Unable to complete OpenID Connect flow because the OpenID Provider did not return the state query.
Relevant configuration
No response
Version
v0.6.3-alpha.1
service_name=Ory Kratos service_version=v1.1.0
On which operating system are you observing this issue?
Preflight checklist
Ory Network Project
No response
Describe the bug
We have an Entra App to distribute to clients via an installation link with format
https://login.microsoftonline.com/common/adminconsent?client_id=<app-client-id>&redirect_uri=https://<kratos-api-endpoint>/self-service/methods/oidc/callback/<provider>
. This link then triggers the following flowhttps://<kratos-api-endpoint>/self-service/methods/oidc/callback/<provider>?admin_consent=True&tenant=<tenantid>
This results in the following error:
The Kratos logs show that in fact the query parameters are empty
query:<nil>
.Interestingly when opening a new tab and attempting to login, the login flow works. It is only on the initial installation of the app.
Reproducing the bug
Relevant log output
Relevant configuration
No response
Version
v0.6.3-alpha.1
service_name=Ory Kratos service_version=v1.1.0
On which operating system are you observing this issue?
Linux
In which environment are you deploying?
Kubernetes with Helm
Additional Context
https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/grant-admin-consent?pivots=portal
No response
The text was updated successfully, but these errors were encountered: