Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9028983
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T07:08:19+00:00 2026-06-16T07:08:19+00:00

I am performing a post to a backend server which is an openid authentication

  • 0

I am performing a post to a backend server which is an openid authentication library. It works when I have a simple form with its action pointing to the server url.

However it fails when I use the $http.post method. I have compared the headers and changed the content-type to url-form encoded. This resolves part of the problem, but the redirection from the server still fails.

Any ideas on what are the differences between a regular form post and angular’s $http.post which is causing this behavour ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T07:08:20+00:00Added an answer on June 16, 2026 at 7:08 am

    but the redirection from the server still fails.

    Server redirection is not supposed to work back into front end because the ajax request will give you the http status code of it’s final page reached. So if the page you request by ajax is redirecting to another page, it will give you 200 status. You can read the w3c draft for this http://www.w3.org/TR/XMLHttpRequest/#infrastructure-for-the-send-method .

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an HTML form page which I post back to itself in order
I have an HTML form performing a DELETE request (method = POST & hidden
I have a very simple scenario where I want to POST the form using
I have a simple question regarding multiple ajax calls, performing each call in sequence.
When performing REST POST and PUT, you can include form field values as part
While performing a conditional DELETE operation in one of my InnoDB tables, which apparently
While performing some upcoming maintenance, I'm going to have to redirect all site traffic
When performing many inserts into a database I would usually have code like this:
My extension is simply performing actions on pages based on user clicks; it works
I'm performing a simulation of a simple queue using SimPy . One of the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.