Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Got HTTP ERROR 431 when Enable AAD Auth for Azure Web App #167

Open
huyenvv90 opened this issue May 4, 2021 · 3 comments
Open

Got HTTP ERROR 431 when Enable AAD Auth for Azure Web App #167

huyenvv90 opened this issue May 4, 2021 · 3 comments

Comments

@huyenvv90
Copy link

The first time, I've followed this guideline and bypass the Auth AAD step. It's worked.
But when I on the Auth AAD, It's not worked and got the issue (see image)
When I off the Auth Azure AD, It's worked again.
image

@andrebriggs
Copy link
Member

Hi @huyenvv90 sorry for the issues you're encountering. Seems like AAD Auth is causing issues. Is your use case being able to access Spektate publicly but with authorization?

@samiyaakhtar how difficult would it be to set up an identity provider in Spektate?

Given an AAD application client id and password we could authenticate. The set up could be as follows:

  1. Configure Spektate with AAD Identity provider credentials for a tenant
  2. Run Spektate in your Kubernetes cluster
  3. Setup an Azure public IP address
  4. Setup an ingress in your Kubernetes cluster using the public IP address (Your can configure such that only Azure Front Door as access)
  5. Setup something like Azure Front Door to route to your backend (exposed public IP address)

This way folks can access Spektate security with authorization using Kubernetes to run the workload.

@huyenvv90
Copy link
Author

yes, I can access Spektate publicly. But when I setup AAD Auth, it's returned 431 error.

@samiyaakhtar
Copy link
Contributor

@andrebriggs I think it's worth looking into, I will open an issue to track this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants