I created an application for achieving all OAUTH2 grant types such as (Password grant. Client Credentials and Authorization type grant flow). But, now i want to switch authorization type grant flow into open id connect.
Googled the scenario, but all of them are using third party library to generate open id connect token like (keycloak, google, okta, athelete).
How to create a own authorization server in open id connect? It will be helpful if any inputs or link on this case. Thanks in advance.
OpenID (OIDC) is just a layer on top of OAuth 2.0 for Identity at its simplest form. If you do not want to use a library, then you must read the specifications and write the code yourself.
OpenID Specifications
Study these two Python libraries to see how they did it: