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

    Posts made by trashmi13

    • Issue in email sending

      Getting error "Unable to send email via JavaMail
      Prime Messaging Exception" when I am trying to test email functionality in local. I think this error is related with port so I tried with different port settings like 25, 465 and 587. But no lunk so fat.

      Email configuration
      Screen Shot 2022-03-17 at 11.46.31 PM.png

      Error what I am seeing
      Screen Shot 2022-03-17 at 11.46.41 PM.png

      posted in General Discussion
      T
      trashmi13
    • How should i validate Id token

      So far we are doing POC on fusionAuth so that our organization can decide to go with fusionAuth or not.

      Everything looks promising so far but somehow I couldn't find anything related to OpenId token verification.

      I am looking for something like the code snippet so that we can verify/validate Id token . Can you please suggest where I can get some reference code to do the ID token validation.

      Sample code
      // The required parameters
      Issuer iss = new Issuer("https://idp.c2id.com");
      ClientID clientID = new ClientID("123");
      JWSAlgorithm jwsAlg = JWSAlgorithm.RS256;
      URL jwkSetURL = new URL("https://idp.c2id.com/jwks.json");

      // Create validator for signed ID tokens
      IDTokenValidator validator = new IDTokenValidator(iss, clientID, jwsAlg, jwkSetURL);

      posted in Q&A
      T
      trashmi13