Hi, i'm integrating Rapidoc in a fastify server. I'm using keycloak with oAuth. I'm facing the following issue. When i click on authorization, and i setup the client-id the keycloak login page opens. After i insert username and password there's no automatically redirect to rapidoc page. Furthermore, if i go back to rapidoc page manually and i try to execute an API request the response is 401 unauthorized.
Hi, i'm integrating Rapidoc in a fastify server. I'm using keycloak with oAuth. I'm facing the following issue. When i click on authorization, and i setup the client-id the keycloak login page opens. After i insert username and password there's no automatically redirect to rapidoc page. Furthermore, if i go back to rapidoc page manually and i try to execute an API request the response is 401 unauthorized.
Following the openApi specification:
Here the
index.html
file where rapidoc is definedIn the same folder where index.html is defined i have the
oauth-receiver.html
fileI read the following doc: https://rapidocweb.com/oauth_instructions.html#auth-receiver-html
Furthermore, if I don't define a route
/oauth-receiver.html
I get an error: route not found by fastify. How can i fix this problem? Thanks