Hello, I don't know if this is the right place to ...
# general
s
Hello, I don't know if this is the right place to ask. Please let me know. I am trying to implement an identification management system using SuperTokens and I am wondering if there was some support to use SuperTokens as an OIDC provider, meaning that I would simply configure my backend to verify the JWT token using OIDC and not manually verifying the JWT using the JWKS data ? If there is no support for this I would gladly implement it.
I am aware that OIDC uses JWKS behind the scenes, I was wondering specifically if SuperTokens provided a "well known" API and the ability to register client applications
r
hey @sda there is. You can give the JWKs URL to your backend, and using some jwt lib, it can verify the JWT. See this: https://supertokens.com/docs/session/common-customizations/sessions/with-jwt/jwt-verification
s
So there is no possibility for restricting access to my JWKS or adding OIDC applications ?
r
why would you want to restruct access to the JWKS endpoint?
maybe im misunderstanding your use case
s
The idea is to provide a way for my applications to use OIDC flow to connect to the SuperToken server in order to authenticate my clients on the backend and verify their tokens generated by the SuperToken server
ideally using OIDC flow as well on the frontend
r
Right. We are not an OAuth provider yet. But we do have the feature of jwks verification via the jwks endpoint
s
ok I see, I'll implement JWKS verification manually on the backend then, I can get the JWT from your framework right?
(on the frontend)
the bearer token ideally to make requests to my backend and verify them using the JWKS provided by the SuperToken backend
Also, is there anything I could help you with the development of that feature ?
I really like your identity solution and would love to see these features
r
Yes. You can get the JWT on the frontend from our SDK
s
alright perfect
r
Thanks! We will let you know if there is any thing on which we need help 🙂