FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. craig
    3. Topics
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by craig

    • C

      Session variables lost on auth-callback when deployed to production

      General Discussion
      • • • craig
      2
      0
      Votes
      2
      Posts
      1.3k
      Views

      danD

      I'm not sure what is going on, but my guess is that the cookies are shared locally (cookies are shared across ports), which is why things are working.

      If you are trying to pass information from when someone logs in to after they are logged in, through the oauth flow, you should look at the state parameter. There's some information on doing that here: https://fusionauth.io/community/forum/topic/165/taking-a-user-directly-to-the-registration-page?_=1610507951768 but I'm not sure how it integrates with whatever library you are using. I'd consult the docs for that lib.

    • C

      .net core - Signature validation failed. Unable to match key: kid:

      General Discussion
      • • • craig
      3
      0
      Votes
      3
      Posts
      13.6k
      Views

      P

      Two ideas:

      Does it help to specify the key id when creating your test SymmetricSecurityKey? var key = new SymmetricSecurityKey(Encoding.ASCII.GetBytes( "My secret from application config" ) ) { KeyId = "Your Key Id" }; You don't specify which algorithm you're using to sign your tokens. If you're using SymmetricSecurityKey, ensure you're using an symmetric algorithm to sign your tokens.