FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Upgrading from 1.46.0 to 1.47.1 CSRF token issue with IdP

    Scheduled Pinned Locked Moved Unsolved Q&A
    8 Posts 5 Posters 10.1k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tvdlooy
      last edited by

      What i am trying to do
      I am trying to step by step update a old fusionauth instance. I have a fully working fusionauth 1.46.0 that i am now trying to get working for 1.47.1.

      I have deployed 1.47.1 where previously 1.46.0 was deployed. After the upgrade everything seems to work fine except for our identity provider login (even when trying to login into the fusionauth admin panel itself with identity provider login). I receive the message "The request origin could not be verified. Unable to complete this login request." I can still login normally using the login form.

      What i expected to see
      I expected to be logged in after using the identity provider login button.

      What i have tried already
      After reading patch notes i noticed changes regarding origin URL changes and CSRF changes that may break custom themes. Therefore i turned off our custom theme and set it back to the default. I also cleared our origin URLs in the application settings to no avail.

      Infrastructure information
      Our fusionauth instance is run in AWS Elastic Beanstalk with a RDS PostgreSQL database. Our fusionauth instance consists out of 2 nodes.

      The issuer for our identity provider is "https://login.microsoftonline.com".
      The scope is set to "openid profile email "https://graph.microsoft.com/user.read".
      Client authentication is "HTTP basic authentication (client_secret_basic)". It is Enabled for all our applications.

      The identity provider issuer receives the identity provider calls from fusionauth and returns HTTP response code 200.

      After trying to login nothing new is shown in the log of node 1 or 2.

      Thanks in advance for any support.

      mark.robustelliM 1 Reply Last reply
      Reply Quote 0
      • mark.robustelliM
        mark.robustelli @tvdlooy
        last edited by

        @tvdlooy Could you try to remove the identity provider login and then add it back? You should not need to, but if that works it could let us know that something else got messed up.

        T 1 Reply Last reply
        Reply Quote 0
        • T
          tvdlooy @mark.robustelli
          last edited by

          @mark-robustelli I have now tried removing it and adding it back again. I also tried to make a completely new instance with the same settings and i keep receiving the error, "The request origin could not be verified. Unable to complete this login request. ".

          mark.robustelliM 1 Reply Last reply
          Reply Quote 0
          • mark.robustelliM
            mark.robustelli @tvdlooy
            last edited by

            @tvdlooy Is there anything in the logs that refers to this issue?

            T 1 Reply Last reply
            Reply Quote 0
            • T
              tvdlooy @mark.robustelli
              last edited by

              @mark-robustelli No this is one of the main issues we have with trying to troubleshoot this issue, because nothing new happens in the fusionauth-app.log after this error is triggered.

              1 Reply Last reply
              Reply Quote 0
              • E
                egli
                last edited by

                Similar issue and was able to resolve it by following changes mentioned here:
                https://fusionauth.io/docs/release-notes/#version-1-47-0

                E 1 Reply Last reply
                Reply Quote 0
                • ?
                  A Former User
                  last edited by

                  @tvdlooy were you able to resolve this?

                  1 Reply Last reply
                  Reply Quote 0
                  • E
                    eachhabitual @egli
                    last edited by

                    @egli said in Upgrading from 1.46.0 to 1.47.1 CSRF token issue with IdP:

                    Similar issue and was able to resolve it by following changes mentioned here:
                    https://fusionauth.io/docs/release-notes/#version-1-47-0 slice master

                    Can you explain in more detail?

                    1 Reply Last reply
                    Reply Quote 0
                    • danD dan moved this topic from Q&A on
                    • danD dan moved this topic from Frequently Asked Questions (FAQ) on

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • First post
                      Last post