I am working on an API using ASP.NET WebAPI. Authentication is done by a 3rd party, and we are sent a SAML token that we authenticate (we are provided the certs to check).
However, I don't want to keep validating against the SAML token as it's quite large so I want to issue a Simple Web Token or something similar. All the examples I see on the web have a third party, or some sort of identity server issuing the SWT.
Is there any reason I can't just issue the token myself? I was looking into using wif.swt, or possibly just rolling my own. What do I need to consider to keep the token secure?