IDP Kit use cases #24
-
Hi, I'm working on IDP use cases with NFTs - https://docs.walt.id/v/idpkit/tutorials/login-with-nfts-or-next.js and https://docs.walt.id/v/idpkit/tutorials/login-with-nfts-or-keycloak using AWS compute instance, rather than using local machine. For the first one, I'm able to deploy the IDP kit on Ethereum mainnet using Alchemy and using the ENS domains NFT collection from Opensea. However, when I deploy the next js app, it says "You are not authenticated" and when I click sign in, its unable to load. For the second usecase using Keycloak, I'm unable to get the Keycloak Admin UI panel although keycloak docker is running in the same instance as IDP kit. Can someone please help resolve this issues. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey @mvresh, thanks for reaching out and pointing us to this issue! First one Second One |
Beta Was this translation helpful? Give feedback.
-
First issue Do you have the environment variable set to the new host in the .env file? See next-auth docs Second Issue You can also try to run the IDP-Kit on a different port. This would require a change of the |
Beta Was this translation helpful? Give feedback.
@mvresh
First issue
Do you have the environment variable set to the new host in the .env file? See next-auth docs
Second Issue
You can also try to run the IDP-Kit on a different port. This would require a change of the
identityProviderURL
parameter which is passed to the NFTProvider in the next.js app under pages/api/auth/[...nextauth].ts. The value passed would refer to the new host the IDP-Kit is running on.